com.ooyala.android.OoyalaPlayerLayout Class Reference
Inheritance diagram for com.ooyala.android.OoyalaPlayerLayout:

Public Member Functions

 OoyalaPlayerLayout (Context context)
 Initialize the OoyalaPlayerLayout with the given Context. More...
 
 OoyalaPlayerLayout (Context context, AttributeSet attrs)
 Initialize the OoyalaPlayerLayout with the given Context and AttributeSet. More...
 
 OoyalaPlayerLayout (Context context, AttributeSet attrs, int defStyle)
 Initialize the OoyalaPlayerLayout with the given Context, AttributeSet, and style. More...
 
void setupPlayerFrame ()
 Set up a player frame Recommendation: use setupPlayerFrame() method only after release() method has been called. More...
 
FrameLayout getPlayerFrame ()
 Returns the FrameLayout surrounding the player. More...
 
void release ()
 This will release all the resources held by OoyalaPlayerLayout. More...
 
LayoutController getLayoutController ()
 Returns the LayoutController corresponding to this OoyalaPlayerLayout. More...
 
void setLayoutController (LayoutController controller)
 Set the LayoutController corresponding to this OoyalaPlayerLayout. More...
 
boolean onTouchEvent (MotionEvent event)
 Touch event handler for this OoyalaPlayerLayout. More...
 

Protected Attributes

FrameLayout _playerFrame = null
 

Constructor & Destructor Documentation

com.ooyala.android.OoyalaPlayerLayout.OoyalaPlayerLayout ( Context  context)

Initialize the OoyalaPlayerLayout with the given Context.

Parameters
contextthe Context to use
com.ooyala.android.OoyalaPlayerLayout.OoyalaPlayerLayout ( Context  context,
AttributeSet  attrs 
)

Initialize the OoyalaPlayerLayout with the given Context and AttributeSet.

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

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

LayoutController com.ooyala.android.OoyalaPlayerLayout.getLayoutController ( )

Returns the LayoutController corresponding to this OoyalaPlayerLayout.

Returns
the LayoutController corresponding to this OoyalaPlayerLayout.
FrameLayout com.ooyala.android.OoyalaPlayerLayout.getPlayerFrame ( )

Returns the FrameLayout surrounding the player.

Returns
the parent FrameLayout of the player.
boolean com.ooyala.android.OoyalaPlayerLayout.onTouchEvent ( MotionEvent  event)

Touch event handler for this OoyalaPlayerLayout.

This method should not be called directly.

void com.ooyala.android.OoyalaPlayerLayout.release ( )

This will release all the resources held by OoyalaPlayerLayout.

void com.ooyala.android.OoyalaPlayerLayout.setLayoutController ( LayoutController  controller)

Set the LayoutController corresponding to this OoyalaPlayerLayout.

Parameters
controllerthe LayoutController to connect to this Layout.
void com.ooyala.android.OoyalaPlayerLayout.setupPlayerFrame ( )

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

Member Data Documentation

FrameLayout com.ooyala.android.OoyalaPlayerLayout._playerFrame = null
protected