Class Class
- Namespace
- JavaScriptCore.Internal
- Assembly
- JavaScriptCore-6.0.dll
public class Class
- Inheritance
-
Class
- Inherited Members
Methods
AddConstructorVariadic(IntPtr, NullableUtf8StringHandle, Callback, IntPtr, DestroyNotify, Type)
Calls native method jsc_class_add_constructor_variadic.
public static extern IntPtr AddConstructorVariadic(IntPtr jscClass, NullableUtf8StringHandle name, Callback callback, IntPtr userData, DestroyNotify destroyNotify, Type returnType)
Parameters
jscClass
IntPtrTransfer ownership: None Nullable: False
name
NullableUtf8StringHandleTransfer ownership: None Nullable: True
callback
CallbackTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
destroyNotify
DestroyNotifyTransfer ownership: None Nullable: True
returnType
TypeTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
AddMethodVariadic(IntPtr, NonNullableUtf8StringHandle, Callback, IntPtr, DestroyNotify, Type)
Calls native method jsc_class_add_method_variadic.
public static extern void AddMethodVariadic(IntPtr jscClass, NonNullableUtf8StringHandle name, Callback callback, IntPtr userData, DestroyNotify destroyNotify, Type returnType)
Parameters
jscClass
IntPtrTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
callback
CallbackTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
destroyNotify
DestroyNotifyTransfer ownership: None Nullable: True
returnType
TypeTransfer ownership: None Nullable: False
AddProperty(IntPtr, NonNullableUtf8StringHandle, Type, Callback, Callback, IntPtr, DestroyNotify)
Calls native method jsc_class_add_property.
public static extern void AddProperty(IntPtr jscClass, NonNullableUtf8StringHandle name, Type propertyType, Callback getter, Callback setter, IntPtr userData, DestroyNotify destroyNotify)
Parameters
jscClass
IntPtrTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
propertyType
TypeTransfer ownership: None Nullable: False
getter
CallbackTransfer ownership: None Nullable: True
setter
CallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
destroyNotify
DestroyNotifyTransfer ownership: None Nullable: True
GetGType()
Calls native function jsc_class_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetName(IntPtr)
Calls native method jsc_class_get_name.
public static extern NonNullableUtf8StringUnownedHandle GetName(IntPtr jscClass)
Parameters
jscClass
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetParent(IntPtr)
Calls native method jsc_class_get_parent.
public static extern IntPtr GetParent(IntPtr jscClass)
Parameters
jscClass
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False