OOSkinViewController Class Reference

The primary class for the Skin UI Use it to display the Ooyala Skin UI alongside the OOOoyalaPlayer. More...

#import <OOSkinViewController.h>

+ Inheritance diagram for OOSkinViewController:

Instance Methods

((unavailable("init not available") - __attribute__
 
(instancetype) - initWithPlayer:skinOptions:parent:launchOptions:
 
(void) - ccStyleChanged:
 
(UIViewController *) - fullscreenViewController [implementation]
 
(void) - disableBuiltInAdLearnMoreButton: [implementation]
 
(void) - maybeLoadDiscovery: [implementation]
 
(NSString *) - hexStringFromColor: [implementation]
 
(void) - handleDiscoveryResults:embedCode: [implementation]
 
(void) - observeValueForKeyPath:ofObject:change:context: [implementation]
 
(void) - dealloc [implementation]
 
(void) - setFullscreen: [implementation]
 
(void) - setFullscreen:completion: [implementation]
 
(void) - changeFullscreenMode:completion: [implementation]
 
(void) - handleFulscreenChangedModeWithOldPlayingState: [implementation]
 
(void) - openFullscreenMode: [implementation]
 
(void) - openInlineMode: [implementation]
 
(void) - notifyFullScreenChange: [implementation]
 
(BOOL) - prefersHomeIndicatorAutoHidden [implementation]
 
(UIInterfaceOrientationMask) - supportedInterfaceOrientations [implementation]
 
(BOOL) - prefersStatusBarHidden [implementation]
 
(UIStatusBarAnimation) - preferredStatusBarUpdateAnimation [implementation]
 
(void) - viewWillTransitionToSize:withTransitionCoordinator: [implementation]
 
(void) - setFullscreen:isOrientationChanges:completion: [implementation]
 
(void) - onReactReady: [implementation]
 
(void) - onApplicationDidBecomeActive: [implementation]
 
(void) - setFullscreen:isOrientationChanges: [implementation]
 
(void) - enterStereoMode [implementation]
 
(void) - exitStereoMode [implementation]
 
(void) - vrPlayerDidConfiguredAction [implementation]
 
(void) - orientationChanged: [implementation]
 
(CGRect) - videoViewFrame [implementation]
 
(void) - toggleStereoMode [implementation]
 
(void) - toggleFullscreen [implementation]
 
(BOOL) - reactViewInteractionEnabled [implementation]
 
(void) - setReactViewInteractionEnabled: [implementation]
 
(void) - disableReactViewInteraction [implementation]
 
(void) - enableReactViewInteraction [implementation]
 
(BOOL) - isReactViewInteractionEnabled [implementation]
 
(void) - playPauseFromAdTappedNotification [implementation]
 
(void) - queueEventWithName:body: [implementation]
 
(void) - purgeEvents [implementation]
 
(void) - sendBridgeEventWithName:body: [implementation]
 

Protected Attributes

NSString *const OOSkinViewControllerFullscreenChangedNotification
 

Properties

OOOoyalaPlayerplayer
 
OOSkinOptionsskinOptions
 
NSString * version
 
OOClosedCaptionsStyleclosedCaptionsDeviceStyle
 
BOOL fullscreen
 Programatically change the fullscreen mode of the player. More...
 
BOOL autoFullscreenWithRotatedEnabled __TVOS_PROHIBITED
 Auto enter/exit full screen mode when device orientation changed. More...
 
RCTRootView * reactView [implementation]
 
OOReactBridge * ooBridge [implementation]
 
UIViewController * inlineViewController [implementation]
 
UIViewController * inlineRootViewController [implementation]
 
UIView * parentView [implementation]
 
UIView * movieFullScreenView [implementation]
 
OOUpNextManagerupNextManager [implementation]
 
NSDictionary * skinConfig [implementation]
 
NSMutableArray * queuedEvents [implementation]
 
BOOL isReactReady [implementation]
 
OOSkinPlayerObserverplayerObserver [implementation]
 
OOReactSkinModelskinModel [implementation]
 
UIViewController * rootViewController [implementation]
 
UIView * videoView [implementation]
 
UIPanGestureRecognizer * panGestureRecognizer [implementation]
 
FullscreenStateControllerfullscreenStateController [implementation]
 
BOOL isVRStereoMode [implementation]
 
BOOL isManualOrientaionChange [implementation]
 
BOOL isFullScreenPreviousState [implementation]
 
UIInterfaceOrientation previousInterfaceOrientation [implementation]
 
NSTimeInterval delayForDeviceOrientationAnimation [implementation]
 

Detailed Description

The primary class for the Skin UI Use it to display the Ooyala Skin UI alongside the OOOoyalaPlayer.

Method Documentation

- ((unavailable("init not available") __attribute__
- (void) ccStyleChanged: (NSNotification *)  notification
- (void) changeFullscreenMode: (BOOL)  isFullscreen
completion: (nullable void(^)())  completion 
implementation
- (void) dealloc
implementation
- (void) disableBuiltInAdLearnMoreButton: (OOOoyalaPlayer *)  player
implementation
- (void) disableReactViewInteraction
implementation

Provided by category OOSkinViewController(Internal).

- (void) enableReactViewInteraction
implementation

Provided by category OOSkinViewController(Internal).

- (void) enterStereoMode
implementation
- (void) exitStereoMode
implementation
- (UIViewController *) fullscreenViewController
implementation
- (void) handleDiscoveryResults: (NSArray *)  results
embedCode: (NSString *)  currentEmbedCode 
implementation
- (void) handleFulscreenChangedModeWithOldPlayingState: (BOOL)  wasPlaying
implementation
- (NSString *) hexStringFromColor: (UIColor *)  color
implementation
- (instancetype) initWithPlayer: (OOOoyalaPlayer *)  player
skinOptions: (OOSkinOptions *)  jsCodeLocation
parent: (UIView *)  parentView
launchOptions: (NSDictionary *)  options 
- (BOOL) isReactViewInteractionEnabled
implementation

Provided by category OOSkinViewController(Internal).

- (void) maybeLoadDiscovery: (NSString *)  embedCode
implementation
- (void) notifyFullScreenChange: (BOOL)  isFullscreen
implementation
- (void) observeValueForKeyPath: (NSString *)  keyPath
ofObject: (id)  object
change: (NSDictionary *)  change
context: (void *)  context 
implementation
- (void) onApplicationDidBecomeActive: (NSNotification *)  notification
implementation

Provided by category OOSkinViewController(Internal).

- (void) onReactReady: (NSNotification *)  notification
implementation

Provided by category OOSkinViewController(Internal).

- (void) openFullscreenMode: (nullable void(^)())  completion
implementation
- (void) openInlineMode: (nullable void(^)())  completion
implementation
- (void) orientationChanged: (NSNotification *)  notification
implementation
- (void) playPauseFromAdTappedNotification
implementation

Provided by category OOSkinViewController(Internal).

- (UIStatusBarAnimation) preferredStatusBarUpdateAnimation
implementation
- (BOOL) prefersHomeIndicatorAutoHidden
implementation
- (BOOL) prefersStatusBarHidden
implementation
- (void) purgeEvents
implementation

Provided by category OOSkinViewController(Internal).

- (void) queueEventWithName: (NSString *)  eventName
body: (id)  body 
implementation

Provided by category OOSkinViewController(Internal).

- (BOOL) reactViewInteractionEnabled
implementation
- (void) sendBridgeEventWithName: (NSString *)  eventName
body: (id)  body 
implementation

Provided by category OOSkinViewController(Internal).

- (void) setFullscreen: (BOOL)  fullscreen
implementation
- (void) setFullscreen: (BOOL)  fullscreen
completion: (nullable void(^)())  completion 
implementation
- (void) setFullscreen: (BOOL)  fullscreen
isOrientationChanges: (BOOL)  isOrientationChanges 
implementation
- (void) setFullscreen: (BOOL)  fullscreen
isOrientationChanges: (BOOL)  isOrientationChanges
completion: (nullable void(^)(void))  completion 
implementation
- (void) setReactViewInteractionEnabled: (BOOL)  reactViewInteractionEnabled
implementation
- (UIInterfaceOrientationMask) supportedInterfaceOrientations
implementation
- (void) toggleFullscreen
implementation

Provided by category OOSkinViewController(Internal).

- (void) toggleStereoMode
implementation
- (CGRect) videoViewFrame
implementation
- (void) viewWillTransitionToSize: (CGSize)  size
withTransitionCoordinator: (id<UIViewControllerTransitionCoordinator>)  coordinator 
implementation
- (void) vrPlayerDidConfiguredAction
implementation

Member Data Documentation

- (NSString* const) OOSkinViewControllerFullscreenChangedNotification
protected

Property Documentation

- (BOOL autoFullscreenWithRotatedEnabled) __TVOS_PROHIBITED
readwritenonatomicassign

Auto enter/exit full screen mode when device orientation changed.

Default NO.

Warning
Doesn't work in VR mode.
- (OOClosedCaptionsStyle *) closedCaptionsDeviceStyle
readnonatomicassign
- (NSTimeInterval) delayForDeviceOrientationAnimation
readwritenonatomicassignimplementation
- (BOOL) fullscreen
readwritenonatomicassign

Programatically change the fullscreen mode of the player.

- (FullscreenStateController*) fullscreenStateController
readwritenonatomicassignimplementation
- (UIViewController*) inlineRootViewController
readwritenonatomicassignimplementation
- (UIViewController*) inlineViewController
readwritenonatomicweakimplementation
- (BOOL) isFullScreenPreviousState
readwritenonatomicassignimplementation
- (BOOL) isManualOrientaionChange
readwritenonatomicassignimplementation
- (BOOL) isReactReady
readwriteatomicimplementation
- (BOOL) isVRStereoMode
readwritenonatomicassignimplementation
- (UIView*) movieFullScreenView
readwritenonatomicassignimplementation
- (OOReactBridge*) ooBridge
readwritenonatomicassignimplementation
- (UIPanGestureRecognizer*) panGestureRecognizer
readwritenonatomicassignimplementation
- (UIView *) parentView
readwritenonatomicassignimplementation
- (OOOoyalaPlayer*) player
readnonatomicassign
- (OOSkinPlayerObserver*) playerObserver
readwriteatomicimplementation
- (UIInterfaceOrientation) previousInterfaceOrientation
readwritenonatomicassignimplementation
- (NSMutableArray*) queuedEvents
readwriteatomicassignimplementation
- (RCTRootView *) reactView
readwritenonatomicassignimplementation
- (UIViewController*) rootViewController
readwritenonatomicassignimplementation
- (NSDictionary*) skinConfig
readwritenonatomicassignimplementation
- (OOReactSkinModel*) skinModel
readwritenonatomicassignimplementation
- (OOSkinOptions*) skinOptions
readnonatomicassign
- (OOUpNextManager*) upNextManager
readwritenonatomicassignimplementation

Provided by category OOSkinViewController(Internal).

- (NSString *) version
readnonatomicassign

Provided by category OOSkinViewController(Internal).

- (UIView*) videoView
readwritenonatomicassignimplementation

The documentation for this class was generated from the following files: