xbmc
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
CJNIXBMCVideoView Class Reference
Inheritance diagram for CJNIXBMCVideoView:
Inheritance graph
[legend]
Collaboration diagram for CJNIXBMCVideoView:
Collaboration graph
[legend]

Public Member Functions

 CJNIXBMCVideoView (const jni::jhobject &object)
 
void surfaceChanged (CJNISurfaceHolder holder, int format, int width, int height) override
 
void surfaceCreated (CJNISurfaceHolder holder) override
 
void surfaceDestroyed (CJNISurfaceHolder holder) override
 
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 = nullptr
 
CEvent m_surfaceCreated
 
CRect m_surfaceRect
 

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