public class ObjcNativeObject
extends java.lang.Object
Constructor and Description |
---|
ObjcNativeObject(long nativeObject)
Creates a new native object representation
|
Modifier and Type | Method and Description |
---|---|
ObjcNativeObject |
performSelector(java.lang.String selector)
Performs the given selector on the native AppDelegate, equivalent to
calling a method in java.
|
void |
performSelectorInBackground(java.lang.String selector)
Performs the given selector on the native AppDelegate, run it in the
background.
|
void |
performSelectorInBackgroundWithObject(java.lang.String selector,
ObjcNativeObject object)
Performs the given selector on the native AppDelegate, run it in the
background
|
void |
performSelectorOnMainThread(java.lang.String selector)
Performs the given selector on the native AppDelegate, run it on the main
thread.
|
void |
performSelectorOnMainThreadWithObject(java.lang.String selector,
ObjcNativeObject object)
Performs the given selector on the native AppDelegate, run it on the main
thread.
|
ObjcNativeObject |
performSelectorWithObject(java.lang.String selector,
ObjcNativeObject object)
Performs the given selector on the native AppDelegate, equivalent to
calling a method in java.
|
public ObjcNativeObject(long nativeObject)
nativeObject
- The id of the native object, created via cast of
object to jlongpublic ObjcNativeObject performSelector(java.lang.String selector)
selector
- The selector (name of the method) to perform.public ObjcNativeObject performSelectorWithObject(java.lang.String selector, ObjcNativeObject object)
selector
- The selector (name of the method) to perform.object
- An object that was before returned from native code.public void performSelectorOnMainThread(java.lang.String selector)
selector
- The selector (name of the method) to perform.public void performSelectorOnMainThreadWithObject(java.lang.String selector, ObjcNativeObject object)
selector
- The selector (name of the method) to perform.object
- An object that was before returned from native code.public void performSelectorInBackground(java.lang.String selector)
selector
- The selector (name of the method) to perform.public void performSelectorInBackgroundWithObject(java.lang.String selector, ObjcNativeObject object)
selector
- The selector (name of the method) to perform.object
- An object that was before returned from native code.