Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
CJNIXBMCVideoView Class Reference

#include <JNIXBMCVideoView.h>

Inheritance diagram for CJNIXBMCVideoView:

Public Member Functions

 CJNIXBMCVideoView (const jni::jhobject &object)
 
 ~CJNIXBMCVideoView ()
 
void surfaceChanged (CJNISurfaceHolder holder, int format, int width, int height)
 
void surfaceCreated (CJNISurfaceHolder holder)
 
void surfaceDestroyed (CJNISurfaceHolder holder)
 
bool waitForSurface (unsigned int millis)
 
bool isActive ()
 
CJNISurface getSurface ()
 
const CRectgetSurfaceRect ()
 
void setSurfaceRect (const CRect &rect)
 
void add ()
 
void release ()
 
int ID () const
 
bool isCreated () const
 

Static Public Member Functions

static void RegisterNatives (JNIEnv *env)
 
static CJNIXBMCVideoViewcreateVideoView (CJNISurfaceHolderCallback *callback)
 
static void _surfaceChanged (JNIEnv *env, jobject thiz, jobject holder, jint format, jint width, jint height)
 
static void _surfaceCreated (JNIEnv *env, jobject thiz, jobject holder)
 
static void _surfaceDestroyed (JNIEnv *env, jobject thiz, jobject holder)
 

Protected Attributes

CJNISurfaceHolderCallback * m_callback
 
CEvent m_surfaceCreated
 
CRect m_surfaceRect
 

Constructor & Destructor Documentation

§ CJNIXBMCVideoView()

CJNIXBMCVideoView::CJNIXBMCVideoView ( const jni::jhobject &  object)

§ ~CJNIXBMCVideoView()

CJNIXBMCVideoView::~CJNIXBMCVideoView ( )

Member Function Documentation

§ _surfaceChanged()

void CJNIXBMCVideoView::_surfaceChanged ( JNIEnv env,
jobject  thiz,
jobject  holder,
jint  format,
jint  width,
jint  height 
)
static

§ _surfaceCreated()

void CJNIXBMCVideoView::_surfaceCreated ( JNIEnv env,
jobject  thiz,
jobject  holder 
)
static

§ _surfaceDestroyed()

void CJNIXBMCVideoView::_surfaceDestroyed ( JNIEnv env,
jobject  thiz,
jobject  holder 
)
static

§ add()

void CJNIXBMCVideoView::add ( )

§ createVideoView()

CJNIXBMCVideoView * CJNIXBMCVideoView::createVideoView ( CJNISurfaceHolderCallback *  callback)
static

§ getSurface()

CJNISurface CJNIXBMCVideoView::getSurface ( )

§ getSurfaceRect()

const CRect & CJNIXBMCVideoView::getSurfaceRect ( )

§ ID()

int CJNIXBMCVideoView::ID ( ) const

§ isActive()

bool CJNIXBMCVideoView::isActive ( )
inline

§ isCreated()

bool CJNIXBMCVideoView::isCreated ( ) const

§ RegisterNatives()

void CJNIXBMCVideoView::RegisterNatives ( JNIEnv env)
static

§ release()

void CJNIXBMCVideoView::release ( )

§ setSurfaceRect()

void CJNIXBMCVideoView::setSurfaceRect ( const CRect rect)

§ surfaceChanged()

void CJNIXBMCVideoView::surfaceChanged ( CJNISurfaceHolder  holder,
int  format,
int  width,
int  height 
)

§ surfaceCreated()

void CJNIXBMCVideoView::surfaceCreated ( CJNISurfaceHolder  holder)

§ surfaceDestroyed()

void CJNIXBMCVideoView::surfaceDestroyed ( CJNISurfaceHolder  holder)

§ waitForSurface()

bool CJNIXBMCVideoView::waitForSurface ( unsigned int  millis)

Member Data Documentation

§ m_callback

CJNISurfaceHolderCallback* CJNIXBMCVideoView::m_callback
protected

§ m_surfaceCreated

CEvent CJNIXBMCVideoView::m_surfaceCreated
protected

§ m_surfaceRect

CRect CJNIXBMCVideoView::m_surfaceRect
protected

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