BasicCastBuilder

@objc
public class BasicCastBuilder : NSObject

TVPAPICastBuilder this component will help you to comunicate with Kaltura-custom-receiver.

  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public enum StreamType : Int
  • Undocumented

    Declaration

    Swift

    @objc
    public var contentId: String!
  • Undocumented

    Declaration

    Swift

    @objc
    public var webPlayerURL: String?
  • Undocumented

    Declaration

    Swift

    @objc
    public var partnerID: String?
  • Undocumented

    Declaration

    Swift

    @objc
    public var uiconfID: String?
  • Undocumented

    Declaration

    Swift

    @objc
    public var adTagURL: String?
  • Undocumented

    Declaration

    Swift

    @objc
    public var metaData: GCKMediaMetadata?
  • Undocumented

    Declaration

    Swift

    @objc
    public var streamType: BasicCastBuilder.StreamType { get set }
  • Set - stream type

    Declaration

    Swift

    @discardableResult
    @nonobjc
    public func set(streamType: StreamType) -> Self

    Parameters

    contentId

    receiver contentId to play ( Entry id, or Asset id )

  • Set - contentId

    Declaration

    Swift

    @discardableResult
    @nonobjc
    public func set(contentId: String?) -> Self

    Parameters

    contentId

    receiver contentId to play ( Entry id, or Asset id )

  • Set - adTagURL

    Declaration

    Swift

    @discardableResult
    @nonobjc
    public func set(adTagURL: String?) -> Self

    Parameters

    adTagURL

    that advertisments url to play

  • Set - webPlayerURL

    Declaration

    Swift

    @discardableResult
    @nonobjc
    public func set(webPlayerURL: String?) -> Self

    Parameters

    webPlayerURL

    the location of the web player the receiver will use to play content

  • Set - partnerID

    Declaration

    Swift

    @discardableResult
    @nonobjc
    public func set(partnerID: String?) -> Self

    Parameters

    partnerID

    the client partner id

  • Set - uiconfID

    Declaration

    Swift

    @discardableResult
    @nonobjc
    public func set(uiconfID: String?) -> Self

    Parameters

    uiconfID

    the receiver uiconf id thet has the configuration for the layout and plugins

  • Set - metaData

    Declaration

    Swift

    @discardableResult
    @nonobjc
    public func set(metaData: GCKMediaMetadata?) -> Self

    Parameters

    metaData

    the receiver google meta data

  • Build GCKMediaInformation a google-cast-sdk object to send through the load google-API

    Declaration

    Swift

    @objc
    public func build() throws -> GCKMediaInformation