pub trait IAndroidJavaObjectMethods: IAndroidJavaObject {
// Provided methods
fn ctor(
self,
class_name: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) { ... }
fn dispose(self) { ... }
fn get_raw_object(self) -> IntPtr { ... }
fn get_raw_class(self) -> IntPtr { ... }
fn call<M0: IlType + Copy + ClassIdentity>(
self,
method_name: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) -> M0 { ... }
fn call_static<M0: IlType + Copy + ClassIdentity>(
self,
method_name: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) -> M0 { ... }
fn debug_print(self, msg: impl Into<Il2CppString>) { ... }
fn android_java_object(
self,
class_name: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) { ... }
fn ctor_2(self, jobject: impl Into<IntPtr>) { ... }
fn ctor_3(self) { ... }
fn finalize(self) { ... }
fn dispose_2(self, disposing: impl Into<bool>) { ... }
}Provided Methods§
Sourcefn ctor(
self,
class_name: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
)
fn ctor( self, class_name: impl Into<Il2CppString>, args: impl Into<Array<Object>>, )
.ctor(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload
Sourcefn get_raw_object(self) -> IntPtr
fn get_raw_object(self) -> IntPtr
GetRawObject() overload
Sourcefn get_raw_class(self) -> IntPtr
fn get_raw_class(self) -> IntPtr
GetRawClass() overload
fn call<M0: IlType + Copy + ClassIdentity>( self, method_name: impl Into<Il2CppString>, args: impl Into<Array<Object>>, ) -> M0
fn call_static<M0: IlType + Copy + ClassIdentity>( self, method_name: impl Into<Il2CppString>, args: impl Into<Array<Object>>, ) -> M0
Sourcefn debug_print(self, msg: impl Into<Il2CppString>)
fn debug_print(self, msg: impl Into<Il2CppString>)
DebugPrint(::unity::Il2CppString) overload
Sourcefn android_java_object(
self,
class_name: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
)
fn android_java_object( self, class_name: impl Into<Il2CppString>, args: impl Into<Array<Object>>, )
_AndroidJavaObject(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IAndroidJavaObject> IAndroidJavaObjectMethods for __T
Available on crate feature
unity_engine-androidjavaobject only.