com.ooyala.android.player.VRPlayerInterface Interface Reference

The interface that must be implemented for the VR player which supports VR 360 content. More...

Public Member Functions

void setVRMode (VrMode mode)
 Set VR mode for the player. More...
 
VrMode getVRMode ()
 Get VR mode for the player. More...
 
void passTouch (MotionEvent event)
 Pass touches for VR move. More...
 
void rotateVRContentHorizontally (int direction)
 Rotate the VR content horizontally for television mode. More...
 
void rotateVRContentVertically (int direction)
 Rotate the VR content vertically for television mode. More...
 

Detailed Description

The interface that must be implemented for the VR player which supports VR 360 content.

Member Function Documentation

VrMode com.ooyala.android.player.VRPlayerInterface.getVRMode ( )

Get VR mode for the player.

void com.ooyala.android.player.VRPlayerInterface.passTouch ( MotionEvent  event)

Pass touches for VR move.

void com.ooyala.android.player.VRPlayerInterface.rotateVRContentHorizontally ( int  direction)

Rotate the VR content horizontally for television mode.

Parameters
directionhorizontal direction
void com.ooyala.android.player.VRPlayerInterface.rotateVRContentVertically ( int  direction)

Rotate the VR content vertically for television mode.

Parameters
directionvertical direction
void com.ooyala.android.player.VRPlayerInterface.setVRMode ( VrMode  mode)

Set VR mode for the player.