RootController
public class RootController : NSObject
extension RootController: FacadeConnectorAnalyticsProtocol
extension RootController: FacadeConnectorAppDataProtocol
extension RootController: FacadeConnectorAudioSessionProtocol
extension RootController: FacadeConnectorChromecastProtocol
extension RootController: FacadeConnectorConnnectivityProtocol
extension RootController: FacadeConnectorLocalNotificationProtocol
extension RootController: FacadeConnectorPlayerDependantProtocol
extension RootController: FacadeConnectorPluginManagerProtocol
extension RootController: FacadeConnectorPushProtocol
extension RootController: FacadeConnectorStorageProtocol
extension RootController: LoadingStateMachineDataSource
extension RootController: ReachabilityManagerDelegate
Undocumented
-
Undocumented
Declaration
Swift
public var appDelegate: AppDelegateProtocol? -
Undocumented
Declaration
Swift
public var appReadyForUse: Bool -
Undocumented
Declaration
Swift
lazy var connectivityListeners: NSMutableArray { get set } -
Undocumented
Declaration
Swift
var reachabilityManager: ReachabilityManager? -
Undocumented
Declaration
Swift
var currentConnection: Reachability.Connection? -
Undocumented
Declaration
Swift
var loadingStateMachine: LoadingStateMachine! -
Undocumented
Declaration
Swift
public var userInterfaceLayer: UserInterfaceLayerProtocol? -
Undocumented
Declaration
Swift
public var userInterfaceLayerViewController: UIViewController? -
Undocumented
Declaration
Swift
public var pluginsManager: PluginsManager -
Undocumented
Declaration
Swift
public let audienceManager: TrackingManager -
Undocumented
Declaration
Swift
var splashViewController: SplashViewController? -
Undocumented
Declaration
Swift
public lazy var facadeConnector: FacadeConnector { get set } -
Undocumented
Declaration
Swift
public override init() -
Undocumented
Declaration
Swift
func reloadApplication() -
Undocumented
Declaration
Swift
func preapreLoadingStates() -> [LoadingState] -
Undocumented
Declaration
Swift
func makeSplashAsRootViewContoroller() -
Undocumented
Declaration
Swift
func makeInterfaceLayerAsRootViewContoroller() -
Undocumented
Declaration
Swift
func showErrorMessage(message: String) -
Undocumented
Declaration
Swift
public func sendEvent(name: String, parameters: Dictionary<String, Any>) -
Undocumented
Declaration
Swift
public func sendScreenEvent(screenTitle: String, parameters: Dictionary<String, Any>) -
Undocumented
Declaration
Swift
public func startObserveTimedEvent(name: String, parameters: Dictionary<String, Any>?) -
Undocumented
Declaration
Swift
public func stopObserveTimedEvent(_ eventName: String, parameters: [String: Any]?) -
Undocumented
Declaration
Swift
public func bundleName() -> String -
Undocumented
Declaration
Swift
public func appVersion() -> String -
Declaration
Swift
public func pluginsURLPath() -> URL? -
Declaration
Swift
public func bundleIdentifier() -> String -
Undocumented
Declaration
Swift
public func enableAudioSessionWithPlayback() -
Undocumented
Declaration
Swift
public func disableAudioSession() -
Undocumented
Declaration
Swift
public func notifyBackgroundAudioToContinuePlaying() -
Undocumented
Declaration
Swift
public func enablePlaybackCategoryIfNeededToMuteBackgroundAudio(forItem item: NSObject?) -
Undocumented
Declaration
Swift
private func enablePlaybackCategoryIfNeededToMuteBackgroundAudio() -
Undocumented
Declaration
Swift
public var isEnabled: Bool { get } -
Undocumented
Declaration
Swift
public var isSynced: Bool { get } -
Undocumented
Declaration
Swift
public var isReachableViaWiFi: Bool { get } -
Undocumented
Declaration
Swift
public var canShowPlayerBeforeCastSync: Bool { get } -
Undocumented
Declaration
Swift
public var extendedPlayerViewController: UIViewController? { get } -
Undocumented
Declaration
Swift
public var inlinePlayerViewController: UIViewController? { get } -
Undocumented
Declaration
Swift
public var miniPlayerViewController: UIViewController? { get } -
Undocumented
Declaration
Swift
public func play(with playableItems: [NSObject], playPosition: TimeInterval, completion: ((_ success: Bool) -> Void)?) -
Undocumented
Declaration
Swift
public func showExtendedPlayer() -
Undocumented
Declaration
Swift
public func setNotificationsDelegate(_ delegate: NSObject?) -
Undocumented
Declaration
Swift
public func addButton(to container: UIView?, key: String, color: UIColor?) -
Undocumented
Declaration
Swift
fileprivate var pluginInstance: ChromecastProtocol? { get } -
Undocumented
Declaration
Swift
fileprivate var pluginInstanceExtendedPlayerControls: ChromecastExtendedPlayerControlsProtocol? { get } -
Declaration
Swift
public func isOnline() -> Bool -
Declaration
Swift
public func isOffline() -> Bool -
Declaration
Swift
public func getCurrentConnectivityState() -> ConnectivityState -
Declaration
Swift
public func addConnectivityListener(_ listener: ConnectivityListener) -
Declaration
Swift
public func removeConnectivityListener(_ listener: ConnectivityListener) -
Undocumented
Declaration
Swift
func updateConnectivityListeners() -
Undocumented
Declaration
Swift
var errorDomainNoPluginExist: String { get } -
Declaration
Swift
public func cancelLocalNotifications(_ identifiers: [String]?, completion: @escaping (Bool, Error?) -> Void) -
Declaration
Swift
public func presentLocalNotification(_ payload: [AnyHashable: Any], completion: @escaping (Bool, Error?) -> Void) -
Declaration
Swift
public func playerDidFinishPlayItem(player: PlayerProtocol, completion: @escaping (Bool) -> Void) -
Declaration
Swift
public func playerDidCreate(player: PlayerProtocol) -
Declaration
Swift
public func playerDidDismiss(player: PlayerProtocol) -
Declaration
Swift
public func playerProgressUpdate(player: PlayerProtocol, currentTime: TimeInterval, duration: TimeInterval) -
Declaration
Swift
public func pluginModel(_ type: String) -> ZPPluginModel? -
Undocumented
Declaration
Swift
@objc public func plugin(for identifier: String) -> ZPPluginModel? -
Undocumented
Declaration
Swift
@objc public func getAllPlugins() -> [ZPPluginModel]? -
Undocumented
Declaration
Swift
@objc public func adapterClass(_ pluginModel: ZPPluginModel) -> AnyClass? -
Declaration
Swift
@objc public func disablePlugin(identifier: String, completion: ((_ success: Bool) -> Void)?) -
Declaration
Swift
@objc public func disableAllPlugins(pluginType: String, completion: ((_ success: Bool) -> Void)?) -
Declaration
Swift
@objc public func enablePlugin(identifier: String, completion: ((_ success: Bool) -> Void)?) -
Declaration
Swift
@objc public func enableAllPlugins(pluginType: String, completion: ((_ success: Bool) -> Void)?) -
Declaration
Swift
@objc public func getProviderInstance(identifier: String) -> PluginAdapterProtocol? -
Declaration
Swift
@objc public func getProviderInstance(pluginType: String, condition: (Any) -> Any?) -> PluginAdapterProtocol? -
Undocumented
Declaration
Swift
public func addTagsToDevice(_ tags: [String]?, completion: @escaping (Bool, [String]?) -> Void) -
Undocumented
Declaration
Swift
public func removeTagsToDevice(_ tags: [String]?, completion: @escaping (Bool, [String]?) -> Void) -
Undocumented
Declaration
Swift
public func getDeviceTags() -> [String : [String]] -
Undocumented
Declaration
Swift
public func sessionStorageValue(for key: String, namespace: String?) -> String? -
Undocumented
Declaration
Swift
public func sessionStorageSetValue(for key: String, value: String, namespace: String?) -> Bool -
Undocumented
Declaration
Swift
public func sessionStorageAllValues(namespace: String? = nil) -> String? -
Undocumented
Declaration
Swift
public func localStorageValue(for key: String, namespace: String?) -> String? -
Undocumented
Declaration
Swift
public func localStorageSetValue(for key: String, value: String, namespace: String?) -> Bool -
Undocumented
Declaration
Swift
@objc public func localStorageAllValues(namespace: String? = nil) -> String? -
Undocumented
Declaration
Swift
func loadApplicationLoadingGroup(_ successHandler: @escaping StateCallBack, _ failHandler: @escaping StateCallBack) -
Undocumented
Declaration
Swift
func loadPluginsGroup(_ successHandler: @escaping StateCallBack, _ failHandler: @escaping StateCallBack) -
Undocumented
Declaration
Swift
func loadStylesGroup(_ successHandler: @escaping StateCallBack, _ failHandler: @escaping StateCallBack) -
Undocumented
Declaration
Swift
func loadUserInterfaceLayerGroup(_ successHandler: @escaping StateCallBack, _ failHandler: @escaping StateCallBack) -
Undocumented
Declaration
Swift
func trackAudience(_ successHandler: @escaping StateCallBack, _ failHandler: @escaping StateCallBack) -
Undocumented
Declaration
Swift
func hookOnApplicationReady(_ successHandler: @escaping StateCallBack, _ failHandler: @escaping StateCallBack) -
Undocumented
Declaration
Swift
public func stateMachineFinishedWork(with state: LoadingStateTypes) -
Undocumented
Declaration
Swift
func reachabilityChanged(connection: Reachability.Connection) -
Undocumented
Declaration
Swift
func showInternetError() -
Undocumented
Declaration
Swift
func forceReloadApplication()