com.ooyala.android.skin.OoyalaSkinLayout Class Reference
+ Inheritance diagram for com.ooyala.android.skin.OoyalaSkinLayout:

Classes

interface  FrameChangeCallback
 

Public Member Functions

void setFrameChangeCallback (FrameChangeCallback fcCallback)
 
 OoyalaSkinLayout (Context context)
 Initialize the OoyalaPlayerLayout with the given Context. More...
 
 OoyalaSkinLayout (Context context, AttributeSet attrs)
 Initialize the OoyalaPlayerLayout with the given Context and AttributeSet. More...
 
 OoyalaSkinLayout (Context context, AttributeSet attrs, int defStyle)
 Initialize the OoyalaPlayerLayout with the given Context, AttributeSet, and style. More...
 
void createSubViews ()
 Set up a player frame Recommendation: use setupPlayerFrame() method only after release() method has been called. More...
 
void release ()
 This will release all the resources held by OoyalaSkinLayout. More...
 
FrameLayout getAdView ()
 
FrameLayout getPlayerLayout ()
 
int getViewWidth ()
 
int getViewHeight ()
 
boolean isFullscreen ()
 
int getSourceWidth ()
 
int getSourceHeight ()
 
void toggleSystemUI (boolean fullscreen)
 Show/Hide system ui (notification and navigation bar) depending if layout is in fullscreen. More...
 
void onSystemUiVisibilityChange (int i)
 

Protected Member Functions

void onAttachedToWindow ()
 
void onSizeChanged (int xNew, int yNew, int xOld, int yOld)
 
void onConfigurationChanged (Configuration newConfig)
 

Package Functions

void setFullscreen (boolean fullscreen)
 Stretch OoyalaSkinLayout to dimensions of the display window. More...
 
void setMultiWindowMode (boolean multiWindowMode)
 

Package Attributes

int viewHeight
 
int sourceHeight
 

Constructor & Destructor Documentation

com.ooyala.android.skin.OoyalaSkinLayout.OoyalaSkinLayout ( Context  context)
inline

Initialize the OoyalaPlayerLayout with the given Context.

Parameters
contextthe Context to use
com.ooyala.android.skin.OoyalaSkinLayout.OoyalaSkinLayout ( Context  context,
AttributeSet  attrs 
)
inline

Initialize the OoyalaPlayerLayout with the given Context and AttributeSet.

Parameters
contextthe Context to use
attrsthe AttributeSet to use
com.ooyala.android.skin.OoyalaSkinLayout.OoyalaSkinLayout ( Context  context,
AttributeSet  attrs,
int  defStyle 
)
inline

Initialize the OoyalaPlayerLayout with the given Context, AttributeSet, and style.

Parameters
contextthe Context to use
attrsthe AttributeSet to use
defStylethe style of the Layout

Member Function Documentation

void com.ooyala.android.skin.OoyalaSkinLayout.createSubViews ( )
inline

Set up a player frame Recommendation: use setupPlayerFrame() method only after release() method has been called.

FrameLayout com.ooyala.android.skin.OoyalaSkinLayout.getAdView ( )
inline
FrameLayout com.ooyala.android.skin.OoyalaSkinLayout.getPlayerLayout ( )
inline
int com.ooyala.android.skin.OoyalaSkinLayout.getSourceHeight ( )
inline
int com.ooyala.android.skin.OoyalaSkinLayout.getSourceWidth ( )
inline
int com.ooyala.android.skin.OoyalaSkinLayout.getViewHeight ( )
inline
int com.ooyala.android.skin.OoyalaSkinLayout.getViewWidth ( )
inline
boolean com.ooyala.android.skin.OoyalaSkinLayout.isFullscreen ( )
inline
void com.ooyala.android.skin.OoyalaSkinLayout.onAttachedToWindow ( )
inlineprotected
void com.ooyala.android.skin.OoyalaSkinLayout.onConfigurationChanged ( Configuration  newConfig)
inlineprotected
void com.ooyala.android.skin.OoyalaSkinLayout.onSizeChanged ( int  xNew,
int  yNew,
int  xOld,
int  yOld 
)
inlineprotected
void com.ooyala.android.skin.OoyalaSkinLayout.onSystemUiVisibilityChange ( int  i)
inline
void com.ooyala.android.skin.OoyalaSkinLayout.release ( )
inline

This will release all the resources held by OoyalaSkinLayout.

void com.ooyala.android.skin.OoyalaSkinLayout.setFrameChangeCallback ( FrameChangeCallback  fcCallback)
inline
void com.ooyala.android.skin.OoyalaSkinLayout.setFullscreen ( boolean  fullscreen)
inlinepackage

Stretch OoyalaSkinLayout to dimensions of the display window.

Handle system UI visibility.

void com.ooyala.android.skin.OoyalaSkinLayout.setMultiWindowMode ( boolean  multiWindowMode)
inlinepackage
void com.ooyala.android.skin.OoyalaSkinLayout.toggleSystemUI ( boolean  fullscreen)
inline

Show/Hide system ui (notification and navigation bar) depending if layout is in fullscreen.

Member Data Documentation

int com.ooyala.android.skin.OoyalaSkinLayout.sourceHeight
package
int com.ooyala.android.skin.OoyalaSkinLayout.viewHeight
package

The documentation for this class was generated from the following file:
  • OoyalaSkinLayout.java