Flutter Engine
 
Loading...
Searching...
No Matches
fml::jni::JavaRef< T > Class Template Reference

#include <scoped_java_ref.h>

Inheritance diagram for fml::jni::JavaRef< T >:
fml::jni::ScopedJavaGlobalRef< jobject > 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 76 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.

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.

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.

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

References fml::jni::JavaRef< T >::obj().

Referenced by flutter::ImageExternalTexture::AHardwareBufferFor(), flutter::ImageExternalTexture::CloseHardwareBuffer(), flutter::PlatformViewAndroidJNIImpl::createOverlaySurface2(), flutter::PlatformViewAndroidJNIImpl::createTransaction(), flutter::PlatformViewAndroidJNIImpl::FlutterViewComputePlatformResolvedLocale(), flutter::PlatformViewAndroidJNIImpl::FlutterViewCreateOverlaySurface(), flutter::PlatformViewAndroidJNIImpl::FlutterViewHandlePlatformMessage(), flutter::PlatformViewAndroidJNIImpl::FlutterViewHandlePlatformMessageResponse(), flutter::PlatformViewAndroidJNIImpl::FlutterViewOnDisplayPlatformView(), flutter::PlatformViewAndroidJNIImpl::FlutterViewSetApplicationLocale(), flutter::PlatformViewAndroidJNIImpl::FlutterViewUpdateCustomAccessibilityActions(), flutter::PlatformViewAndroidJNIImpl::FlutterViewUpdateSemantics(), flutter::PlatformViewAndroidJNIImpl::GetDisplayDensity(), flutter::PlatformViewAndroidJNIImpl::GetDisplayHeight(), flutter::PlatformViewAndroidJNIImpl::GetDisplayRefreshRate(), flutter::PlatformViewAndroidJNIImpl::GetDisplayWidth(), fml::jni::GetJavaExceptionInfo(), flutter::PlatformViewAndroidJNIImpl::ImageProducerTextureEntryAcquireLatestImage(), fml::jni::JavaRef< jobject >::JavaRef(), fml::jni::JavaRef< T >::obj(), flutter::PlatformViewAndroidJNIImpl::onDisplayPlatformView2(), flutter::RegisterApi(), fml::jni::ScopedJavaLocalRef< T >::Reset(), fml::jni::ScopedJavaLocalRef< T >::Reset(), fml::jni::ScopedJavaGlobalRef< T >::Reset(), fml::jni::ScopedJavaGlobalRef< T >::ScopedJavaGlobalRef(), fml::jni::ScopedJavaLocalRef< T >::ScopedJavaLocalRef(), fml::jni::StringArrayToVector(), fml::jni::StringListToVector(), flutter::PlatformViewAndroidJNIImpl::SurfaceTextureAttachToGLContext(), flutter::PlatformViewAndroidJNIImpl::SurfaceTextureDetachFromGLContext(), flutter::PlatformViewAndroidJNIImpl::SurfaceTextureGetTransformMatrix(), flutter::PlatformViewAndroidJNIImpl::SurfaceTextureShouldUpdate(), flutter::PlatformViewAndroidJNIImpl::SurfaceTextureUpdateTexImage(), fml::jni::VectorToBufferArray(), and fml::jni::VectorToStringArray().


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