BroadpeakPlayer

public protocol BroadpeakPlayer : AdPlayer

Broadpeak integrated ad player

  • BroadpeakSession to manage session and ad playback.

    Declaration

    Swift

    var broadpeakSession: BroadpeakSessionData { get }
  • Google pal configuration

    Declaration

    Swift

    var palConfiguration: PALSessionConfiguration? { get }
  • Updates the current ad view state.

    This should be called after setting the ad view and whenever the player view state changes.

    Supported states:

    • .NORMAL - Default player state.
    • .MINIMIZED - Player is minimized or not visible.
    • .COLLAPSED - Player view is reduced in size.
    • .EXPANDED - Player view is expanded.
    • .FULLSCREEN - Player is displayed in fullscreen mode.

    Declaration

    Swift

    func setAdViewState(state: AdViewState)
  • Should be called when the user interacts with the ad that was requested with the nonce generated by this manager.

    Supported interaction types:

    Declaration

    Swift

    func sendAdClick(interactionType: AdInteractionType)
  • sendAdClick() Extension method

    Undocumented

    Declaration

    Swift

    func sendAdClick()