BitmovinPlayerCoreAdvertisingApiProtocolAdvertisingApiProvides access to advertising functionality and ad schedule information. Accessible through the player’s ads property.@objc(BMPAdvertisingApi) protocol AdvertisingApiTopicsInstance Propertiesvar activeAd: Ad?The currently active ad.var schedule: [AdBreak]Upcoming ad breaks, sorted by schedule time ascending.presentationContextThe current UIKit presentation context used for advertising integrations. The value is nil until both an ad container and its hosting view controller have been registered.Instance Methodsfunc register(adContainer: UIView)Registers the container for displaying ads.func schedule(adItem: AdItem)Schedules an ad for playback for the active source.func skip()Skips the current ad. A successful skip is signaled via an AdSkippedEvent. Has no effect if the current ad is not skippable or if no ad is being played back.- registerAdContainerViewController:Registers the view controller containing the ad container. The registered view controller and the view supplied through register(adContainer:) form the current AdvertisingPresentationContext.