new NativeObject(proxyId, session)
Creates a NativeObject with the given proxy-ID.
Parameters:
Name | Type | Description |
---|---|---|
proxyId |
number | The proxy-ID returned from the engine, representing an instance of a native object stored on the engine side. |
session |
Object | The current session. |
Methods
MEMBERS() → {Promise.<Array.<string>>}
Returns a string array representing all members of the native object.
Returns:
a promise that is fulfilled with a string array representing all members of the native object.
- Type
- Promise.<Array.<string>>