Flutter Engine
The Flutter Engine
Public Member Functions | Protected Member Functions | List of all members
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

T 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,
T  obj 
)
inlineprotected

Definition at line 84 of file scoped_java_ref.h.

84: JavaRef<jobject>(env, obj) {}
Definition: __init__.py:1

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()); }
#define T
Definition: precompiler.cc:65

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