public class NSObject extends Object
| Constructor and Description |
|---|
NSObject(long ptr)
Initializes a new NSObject instance which is to represent a
specific Objective-C object.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getPtr()
Gets the pointer to the Objective-C object represented by this instance.
|
void |
release()
Decrements the reference count of the Objective-C object represented by
this instance.
|
static void |
release(long ptr)
Decrements the reference count of a specific Objective-C object.
|
void |
retain()
Increments the reference count of the Objective-C object represented by
this instance.
|
protected void |
setPtr(long ptr)
Sets the pointer to the Objective-C object represented by this instance.
|
public NSObject(long ptr)
ptr - the pointer to the Objective-C object to be represented by the
new instancepublic long getPtr()
public void release()
public static void release(long ptr)
ptr - the pointer to the Objective-C object to decrement the
reference count ofpublic void retain()
protected void setPtr(long ptr)
ptr - the pointer to the Objective-C object to be represented by
this instanceCopyright © 2021 jitsi.org. All rights reserved.