FireTVManager

public final class FireTVManager : FireTVManagerProtocol

Responsible for discovering FireTVs in your local network Observe the devicesObservable to be notified about changes to the internal devices list (device discovered or device lost)

  • Observe the internal devices list using this observable

    Declaration

    Swift

    public var devicesObservable: Observable<[RemoteMediaPlayer]> { get }
  • Get the current devices list

    Declaration

    Swift

    public var devices: [RemoteMediaPlayer] { get }
  • Initializes a FireTVManager instance All the magic (reachability and discovery setup) happens under the hood

    Throws

    an error if the internal reachability service couldn’t be initialized

    Declaration

    Swift

    public init() throws
  • Starts discovery in your local network

    Throws

    error if reachability service failed to start listening

    Declaration

    Swift

    public func startDiscovery(forPlayerID playerID: String) throws

    Parameters

    playerID

    playerID to be searched

  • Stops discovery in your local network

    Declaration

    Swift

    public func stopDiscovery()