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

Public Member Functions

 CJNIXBMCMainView (CJNISurfaceHolderCallback *callback)
 
void surfaceChanged (CJNISurfaceHolder holder, int format, int width, int height) override
 
void surfaceCreated (CJNISurfaceHolder holder) override
 
void surfaceDestroyed (CJNISurfaceHolder holder) override
 
void attach (const jobject &thiz)
 
bool waitForSurface (unsigned int millis)
 
bool isActive ()
 
CJNISurface getSurface ()
 
bool isCreated () const
 

Static Public Member Functions

static void RegisterNatives (JNIEnv *env)
 

Static Protected Member Functions

static void _attach (JNIEnv *env, jobject thiz)
 
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
 

Static Protected Attributes

static CJNIXBMCMainViewm_instance = nullptr
 
static CEvent m_surfaceCreated
 

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