PKRequestParamsAdapter

@objc
public protocol PKRequestParamsAdapter

PKRequestParamsDecorator used for getting updated request info

  • Called when need to update the request adapter with information from the player. Use this to update the adapter with any information available from the player.

    For example, when media session id changes.

    Declaration

    Swift

    @objc
    func updateRequestAdapter(with player: Player)
  • Undocumented

    Declaration

    Swift

    @objc
    func adapt(requestParams: PKRequestParams) -> PKRequestParams