9 #import <UIKit/UIKit.h> 10 #import <OoyalaSDK/OOCastManagerProtocol.h> 11 #import <GoogleCast/GCKDevice.h> 12 #import <OoyalaSDK/OOPlayerProtocol.h> 15 @class OOOoyalaPlayer;
17 @protocol OOCastMiniControllerProtocol;
26 - (void)castManagerDidEnterCastMode:(nonnull
OOCastManager *)manager;
32 - (void)castManagerDidExitCastMode:(nonnull
OOCastManager *)manager;
38 - (void)castManagerDidDisconnect:(nonnull
OOCastManager *)manager;
46 didFailWithError:(nonnull NSError *)error
47 andExtras:(nullable NSDictionary *)extras;
55 @property (nonatomic, weak, nullable) id<OOCastManagerDelegate>
delegate;
56 @property (nonatomic, readonly) OOOoyalaPlayerState
state;
63 + (nonnull
OOCastManager *)castManagerWithAppID:(nonnull NSString *)receiverAppID
64 namespace:(nonnull NSString *)appNamespace;
66 - (void)registerMiniController:(nullable
id<OOCastMiniControllerProtocol>)miniController;
81 - (void)setCastModeVideoView:(nonnull UIView *)castView;
87 - (void)setAdditionalInitParams:(nullable NSDictionary *)params;
nonnull UIButton * castButton()
Return the cast button.
Definition: OOCastManager.m:115
GCKDevice * selectedDevice
Definition: OOCastManager.h:54
An object representing a receiver device.
Definition: GCKDevice.h:82
id< OOCastManagerDelegate > delegate
Definition: OOCastManager.h:55
void disconnectFromOoyalaPlayer()
Disconnect the OOCastManager from ooyalaPlayer.
Definition: OOCastManager.m:108
OOOoyalaPlayerState state
Definition: OOCastManager.h:56
Definition: OOCastManager.h:19
Definition: OOCastManager.h:52
Definition: OOCastPlayer.h:18