Flutter Engine
fml::jni::JavaRef< T > Class Template Reference

#include <scoped_java_ref.h>

Inheritance diagram for fml::jni::JavaRef< T >:
fml::jni::ScopedJavaGlobalRef< T > fml::jni::ScopedJavaLocalRef< T >

Public Member Functions

obj () const
 

Protected Member Functions

 JavaRef ()
 
 ~JavaRef ()
 
 JavaRef (JNIEnv *env, T obj)
 

Detailed Description

template<typename T>
class fml::jni::JavaRef< T >

Definition at line 36 of file scoped_java_ref.h.

Constructor & Destructor Documentation

◆ JavaRef() [1/2]

template<typename T >
fml::jni::JavaRef< T >::JavaRef ( )
inlineprotected

Definition at line 81 of file scoped_java_ref.h.

81 {}

◆ ~JavaRef()

template<typename T >
fml::jni::JavaRef< T >::~JavaRef ( )
inlineprotected

Definition at line 82 of file scoped_java_ref.h.

Referenced by fml::jni::JavaRef< jobject >::JavaRef().

82 {}

◆ JavaRef() [2/2]

template<typename T >
fml::jni::JavaRef< T >::JavaRef ( JNIEnv *  env,
obj 
)
inlineprotected

Definition at line 84 of file scoped_java_ref.h.

References FML_DISALLOW_COPY_AND_ASSIGN.

84 : JavaRef<jobject>(env, obj) {}

Member Function Documentation

◆ obj()

template<typename T >
T fml::jni::JavaRef< T >::obj ( ) const
inline

Definition at line 78 of file scoped_java_ref.h.

Referenced by flutter::CreateFlutterCallbackInformation(), flutter::PlatformViewAndroidJNIImpl::FlutterViewComputePlatformResolvedLocale(), flutter::PlatformViewAndroidJNIImpl::FlutterViewCreateOverlaySurface(), flutter::PlatformViewAndroidJNIImpl::FlutterViewHandlePlatformMessage(), flutter::PlatformViewAndroidJNIImpl::FlutterViewHandlePlatformMessageResponse(), flutter::PlatformViewAndroidJNIImpl::FlutterViewOnDisplayPlatformView(), flutter::PlatformViewAndroidJNIImpl::FlutterViewUpdateCustomAccessibilityActions(), flutter::PlatformViewAndroidJNIImpl::FlutterViewUpdateSemantics(), fml::jni::GetJavaExceptionInfo(), flutter::FlutterMain::GetSettings(), flutter::VsyncWaiterAndroid::Register(), flutter::PlatformViewAndroid::Register(), flutter::RegisterApi(), fml::jni::JavaRef< jobject >::ReleaseInternal(), fml::jni::ScopedJavaLocalRef< T >::Reset(), fml::jni::ScopedJavaLocalRef< T >::ScopedJavaLocalRef(), fml::jni::JavaRef< jobject >::SetNewGlobalRef(), fml::jni::JavaRef< jobject >::SetNewLocalRef(), fml::jni::StringArrayToVector(), flutter::PlatformViewAndroidJNIImpl::SurfaceTextureAttachToGLContext(), flutter::PlatformViewAndroidJNIImpl::SurfaceTextureDetachFromGLContext(), flutter::PlatformViewAndroidJNIImpl::SurfaceTextureGetTransformMatrix(), flutter::PlatformViewAndroidJNIImpl::SurfaceTextureUpdateTexImage(), fml::jni::VectorToStringArray(), and flutter::VsyncWaiterAndroid::VsyncWaiterAndroid().

78 { return static_cast<T>(JavaRef<jobject>::obj()); }

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