#import <OOCastPlayer.h>

Instance Methods | |
((unavailable("use initWithNamespace:deviceManager:castManager") - __attribute__ | |
(nonnull instancetype) - initWithNamespace:castSession:castManager: | |
(void) - registerWithOoyalaPlayer: | |
(void) - updateMetadataCastItemPromoImg:castItemTitle:castItemDescription: | |
(void) - enterCastModeWithOptions:embedToken:additionalInitParams: | |
(void) - registerMiniController: | |
(void) - deregisterMiniController: | |
(void) - onExitCastMode | |
(void) - forceAssetRejoin | |
(instancetype) - initWithNamespace:castSession:castManager: [implementation] | |
(void) - dealloc [implementation] | |
(void) - setStateNotifier: [implementation] | |
(void) - registerWithOoyalaPlayer: [implementation] | |
(void) - updateMetadataCastItemPromoImg:castItemTitle:castItemDescription: [implementation] | |
(void) - enterCastModeWithOptions:embedToken:additionalInitParams: [implementation] | |
(void) - registerMiniController: [implementation] | |
(void) - deregisterMiniController: [implementation] | |
(void) - cleanupBeforeDeallocate [implementation] | |
(void) - castNewContentWithOptions:embedToken:additionalInitParams: [implementation] | |
(void) - syncCastUI [implementation] | |
(void) - resetStateOnVideoChange [implementation] | |
(NSMutableDictionary *) - buildInitDataWithOptions:embedToken:additionalInitParams: [implementation] | |
(void) - observeValueForKeyPath:ofObject:change:context: [implementation] | |
(void) - getReceiverPlayerState [implementation] | |
(void) - updateVolumeTo: [implementation] | |
(OOOoyalaPlayerState) - state [implementation] | |
(void) - setState: [implementation] | |
(void) - dismissMiniControllers [implementation] | |
(void) - sendMuteMessageIfStartingVideoMuted [implementation] | |
(void) - sendMessage: [implementation] | |
(NSInteger) - makeRemoteMediaClientRequest:block: [implementation] | |
(void) - updatePlayerStateFromTextMessage: [implementation] | |
(void) - handleTextMessageEvent:withResults: [implementation] | |
(void) - handlePlayheadTimeChanged: [implementation] | |
(void) - handlePlaybackReady: [implementation] | |
(void) - handlePlaying: [implementation] | |
(void) - handlePaused: [implementation] | |
(void) - handleContentTreeFetched: [implementation] | |
(void) - handleClosedCaptionsInfoAvailable: [implementation] | |
(void) - handleSeeked: [implementation] | |
(void) - handlePlayed: [implementation] | |
(void) - didReceiveTextMessage: [implementation] | |
Called when a text message has been received on this channel. More... | |
(void) - didConnect [implementation] | |
Called when this channel has been connected, indicating that messages can now be exchanged with the Cast device over this channel. More... | |
(void) - didDisconnect [implementation] | |
Called when this channel has been disconnected, indicating that messages can no longer be exchanged with the Cast device over this channel. More... | |
(void) - pause [implementation] | |
(void) - play [implementation] | |
(void) - stop [implementation] | |
This is called when stop is clicked. More... | |
(void) - setVideoGravity: [implementation] | |
useless for chromecast More... | |
(BOOL) - hasCustomControls [implementation] | |
(Float64) - duration [implementation] | |
Get the current item's duration. More... | |
(Float64) - buffer [implementation] | |
Get the current item's buffer. More... | |
(CMTimeRange) - seekableTimeRange [implementation] | |
(BOOL) - seekable [implementation] | |
(BOOL) - supportsVideoGravityButton [implementation] | |
(void) - setClosedCaptionsLanguage: [implementation] | |
(NSString *) - convertClosedCaptionsLanguageForReceiver: [implementation] | |
(void) - seekToTime: [implementation] | |
Set the current playhead time of the player. More... | |
(UIImage *) - screenshot [implementation] | |
(BOOL) - tryToSeekToTime: [implementation] | |
(void) - setVolume: [implementation] | |
(void) - updateMiniControllers [implementation] | |
(void) - request:didFailWithError: [implementation] | |
(void) - remoteMediaClient:didUpdateMediaStatus: [implementation] | |
![]() | |
(instancetype) - initWithNamespace: | |
Designated initializer. More... | |
(instancetype) - NS_UNAVAILABLE | |
Default initializer is not available. More... | |
(BOOL) - sendTextMessage:error: | |
Sends a text message on this channel. More... | |
(NSInteger) - generateRequestID | |
Generates a request ID for a new message. More... | |
(NSNumber *GCK_NULLABLE_TYPE) - generateRequestNumber | |
A convenience method which wraps the result of generateRequestID in an NSNumber. More... | |
(void) - didChangeWritableState: | |
Called when the writable state of this channel has changed. More... | |
Properties | |
OOStateNotifier * stateNotifier | |
NSString * embedCode | |
Float64 playheadTime | |
Get the current playhead time. More... | |
NSString * castItemTitle | |
NSString * castItemDescription | |
NSString * castItemPromoImg | |
BOOL isMiniControllerInteractionAvailable | |
id< OOCastManagerInternalProtocol > castManager [implementation] | |
OOOoyalaPlayer * ooyalaPlayer [implementation] | |
GCKCastSession * castSession [implementation] | |
NSMutableArray * miniControllerList [implementation] | |
BOOL isSeeking [implementation] | |
BOOL isPlayQueued [implementation] | |
BOOL liveClosedCaptionsAvailable [implementation] | |
BOOL sameEmbedCode [implementation] | |
![]() | |
NSString * protocolNamespace | |
The channel's namespace. More... | |
BOOL isConnected | |
A flag indicating whether this channel is currently connected. More... | |
BOOL isWritable | |
A flag indicating whether this channel is currently writable. More... | |
Method Documentation
- ((unavailable("use) initWithNamespace: |
|
implementation |
Get the current item's buffer.
- Returns
- buffer as CMTimeRange
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
- (void) deregisterMiniController: | (nullable id< OOCastMiniControllerProtocol >) | miniController |
|
implementation |
|
implementation |
Called when this channel has been connected, indicating that messages can now be exchanged with the Cast device over this channel.
The default implementation is a no-op.
Implements GCKCastChannel.
|
implementation |
Called when this channel has been disconnected, indicating that messages can no longer be exchanged with the Cast device over this channel.
The default implementation is a no-op.
Implements GCKCastChannel.
|
implementation |
Called when a text message has been received on this channel.
The default implementation is a no-op.
- Parameters
-
message The message.
Implements GCKCastChannel.
|
implementation |
|
implementation |
Get the current item's duration.
- Returns
- duration as CMTime
- (void) enterCastModeWithOptions: | (nonnull OOCastModeOptions *) | options | |
embedToken: | (nonnull NSString *) | embedToken | |
additionalInitParams: | (nullable NSDictionary *) | params | |
|
implementation |
- (void) forceAssetRejoin |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
- (nonnull instancetype) initWithNamespace: | (nonnull NSString *) | appNamespace | |
castSession: | (nullable GCKCastSession *) | castSession | |
castManager: | (nullable id< OOCastManagerInternalProtocol >) | castManager | |
|
implementation |
|
implementation |
|
implementation |
- (void) onExitCastMode |
|
implementation |
|
implementation |
- (void) registerMiniController: | (nullable id< OOCastMiniControllerProtocol >) | miniController |
|
implementation |
- (void) registerWithOoyalaPlayer: | (nullable OOOoyalaPlayer *) | ooyalaPlayer |
|
implementation |
|
implementation |
Provided by category OOCastPlayer(GCKRemoteMediaClientListener).
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
Set the current playhead time of the player.
- Parameters
-
[in] time CMTime to set the playhead time to
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
useless for chromecast
|
implementation |
|
implementation |
|
implementation |
This is called when stop is clicked.
|
implementation |
|
implementation |
|
implementation |
- (void) updateMetadataCastItemPromoImg: | (nullable NSString *) | castItemPromoImg | |
castItemTitle: | (nullable NSString *) | castItemTitle | |
castItemDescription: | (nullable NSString *) | castItemDescription | |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
Property Documentation
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicweakimplementation |
|
readwritenonatomicweakimplementation |
|
readwritenonatomicassign |
|
readnonatomicassign |
|
readwritenonatomicassignimplementation |
|
readwritenonatomicassignimplementation |
|
readwritenonatomicassignimplementation |
|
readwritenonatomicassignimplementation |
|
readwritenonatomicweakimplementation |
|
readwritenonatomicassign |
Get the current playhead time.
- Returns
- the current playhead time as CMTime
|
readwritenonatomicassignimplementation |
|
readwritenonatomicassign |
The documentation for this class was generated from the following files:
- OOCastPlayer.h
- OOCastPlayer.m