kJSTypeBigInt
TypeScriptconst kJSTypeBigInt: JSTypeSwift declarationvar kJSTypeBigInt: JSType { get }Evaluate JavaScript programs from within an app, and support JavaScript scripting of your app.
36 types
288 callable entries
31 skipped
90% entry coverage
Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.
JSChar
typealias
JSClassAttributes
typealias
JSClassDefinition
struct
JSClassRef
typealias
JSContext
class · iOS 7.0+
JSContextGroupRef
typealias
JSContextRef
typealias
JSExport
protocol
JSGlobalContextRef
typealias
JSManagedValue
class · iOS 7.0+
JSObjectCallAsConstructorCallback
typealias
JSObjectCallAsFunctionCallback
typealias
JSObjectConvertToTypeCallback
typealias
JSObjectDeletePropertyCallback
typealias
JSObjectFinalizeCallback
typealias
JSObjectGetPropertyCallback
typealias
JSObjectGetPropertyNamesCallback
typealias
JSObjectHasInstanceCallback
typealias
JSObjectHasPropertyCallback
typealias
JSObjectInitializeCallback
typealias
JSObjectRef
typealias
JSObjectSetPropertyCallback
typealias
JSPropertyAttributes
typealias
JSPropertyNameAccumulatorRef
typealias
JSPropertyNameArrayRef
typealias
JSRelationCondition
enum · iOS 18.0+
JSStaticFunction
struct
JSStaticValue
struct
JSStringRef
typealias
JSType
struct
JSTypedArrayBytesDeallocator
typealias
JSTypedArrayType
struct · iOS 10.0+
JSValue
class · iOS 7.0+
JSValueProperty
typealias
JSValueRef
typealias
JSVirtualMachine
class · iOS 7.0+
const kJSTypeBigInt: JSTypeSwift declarationvar kJSTypeBigInt: JSType { get }const kJSTypeBoolean: JSTypeSwift declarationvar kJSTypeBoolean: JSType { get }const kJSTypeNull: JSTypeSwift declarationvar kJSTypeNull: JSType { get }const kJSTypeNumber: JSTypeSwift declarationvar kJSTypeNumber: JSType { get }const kJSTypeObject: JSTypeSwift declarationvar kJSTypeObject: JSType { get }const kJSTypeString: JSTypeSwift declarationvar kJSTypeString: JSType { get }const kJSTypeSymbol: JSTypeSwift declarationvar kJSTypeSymbol: JSType { get }const kJSTypeUndefined: JSTypeSwift declarationvar kJSTypeUndefined: JSType { get }const kJSTypedArrayTypeArrayBuffer: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeArrayBuffer: JSTypedArrayType { get }const kJSTypedArrayTypeBigInt64Array: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeBigInt64Array: JSTypedArrayType { get }const kJSTypedArrayTypeBigUint64Array: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeBigUint64Array: JSTypedArrayType { get }const kJSTypedArrayTypeFloat32Array: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeFloat32Array: JSTypedArrayType { get }const kJSTypedArrayTypeFloat64Array: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeFloat64Array: JSTypedArrayType { get }const kJSTypedArrayTypeInt16Array: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeInt16Array: JSTypedArrayType { get }const kJSTypedArrayTypeInt32Array: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeInt32Array: JSTypedArrayType { get }const kJSTypedArrayTypeInt8Array: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeInt8Array: JSTypedArrayType { get }const kJSTypedArrayTypeNone: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeNone: JSTypedArrayType { get }const kJSTypedArrayTypeUint16Array: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeUint16Array: JSTypedArrayType { get }const kJSTypedArrayTypeUint32Array: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeUint32Array: JSTypedArrayType { get }const kJSTypedArrayTypeUint8Array: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeUint8Array: JSTypedArrayType { get }const kJSTypedArrayTypeUint8ClampedArray: JSTypedArrayTypeSwift declarationvar kJSTypedArrayTypeUint8ClampedArray: JSTypedArrayType { get }const kJSClassAttributeNoAutomaticPrototype: numberSwift declarationvar kJSClassAttributeNoAutomaticPrototype: Int { get }const kJSClassAttributeNone: numberSwift declarationvar kJSClassAttributeNone: Int { get }const kJSPropertyAttributeDontDelete: numberSwift declarationvar kJSPropertyAttributeDontDelete: Int { get }const kJSPropertyAttributeDontEnum: numberSwift declarationvar kJSPropertyAttributeDontEnum: Int { get }const kJSPropertyAttributeNone: numberSwift declarationvar kJSPropertyAttributeNone: Int { get }const kJSPropertyAttributeReadOnly: numberSwift declarationvar kJSPropertyAttributeReadOnly: Int { get }JSBigIntCreateWithDouble(ctx: SDKHandle, value: number): { $ret: SDKHandle; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSBigIntCreateWithDouble(_ ctx: JSContextRef, _ value: Double, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> JSValueRefOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSBigIntCreateWithInt64(ctx: SDKHandle, integer: number): { $ret: SDKHandle; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSBigIntCreateWithInt64(_ ctx: JSContextRef, _ integer: Int64, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> JSValueRefOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSBigIntCreateWithString(ctx: SDKHandle, string: SDKHandle): { $ret: SDKHandle; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSBigIntCreateWithString(_ ctx: JSContextRef, _ string: JSStringRef, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> JSValueRefOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSBigIntCreateWithUInt64(ctx: SDKHandle, integer: number): { $ret: SDKHandle; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSBigIntCreateWithUInt64(_ ctx: JSContextRef, _ integer: UInt64, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> JSValueRefOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSCheckScriptSyntax(ctx: (SDKHandle) | null, script: (SDKHandle) | null, sourceURL: (SDKHandle) | null, startingLineNumber: number): { $ret: boolean; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSCheckScriptSyntax(_ ctx: JSContextRef!, _ script: JSStringRef!, _ sourceURL: JSStringRef!, _ startingLineNumber: Int32, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> BoolOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSClassCreate(definition?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSClassCreate(_ definition: UnsafePointer<JSClassDefinition>!) -> JSClassRef!JSClassRelease(jsClass?: (SDKHandle) | null): voidSwift declarationfunc JSClassRelease(_ jsClass: JSClassRef!)JSClassRetain(jsClass?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSClassRetain(_ jsClass: JSClassRef!) -> JSClassRef!JSContextGetGlobalContext(ctx?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSContextGetGlobalContext(_ ctx: JSContextRef!) -> JSGlobalContextRef!JSContextGetGlobalObject(ctx?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSContextGetGlobalObject(_ ctx: JSContextRef!) -> JSObjectRef!JSContextGetGroup(ctx?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSContextGetGroup(_ ctx: JSContextRef!) -> JSContextGroupRef!JSContextGroupCreate(): (SDKHandle) | nullSwift declarationfunc JSContextGroupCreate() -> JSContextGroupRef!JSContextGroupRelease(group?: (SDKHandle) | null): voidSwift declarationfunc JSContextGroupRelease(_ group: JSContextGroupRef!)JSContextGroupRetain(group?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSContextGroupRetain(_ group: JSContextGroupRef!) -> JSContextGroupRef!JSEvaluateScript(ctx: (SDKHandle) | null, script: (SDKHandle) | null, thisObject: (SDKHandle) | null, sourceURL: (SDKHandle) | null, startingLineNumber: number): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSEvaluateScript(_ ctx: JSContextRef!, _ script: JSStringRef!, _ thisObject: JSObjectRef!, _ sourceURL: JSStringRef!, _ startingLineNumber: Int32, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSValueRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSGarbageCollect(ctx?: (SDKHandle) | null): voidSwift declarationfunc JSGarbageCollect(_ ctx: JSContextRef!)JSGlobalContextCopyName(ctx?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSGlobalContextCopyName(_ ctx: JSGlobalContextRef!) -> JSStringRef!JSGlobalContextCreate(globalObjectClass?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSGlobalContextCreate(_ globalObjectClass: JSClassRef!) -> JSGlobalContextRef!JSGlobalContextCreateInGroup(group?: (SDKHandle) | null, globalObjectClass?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSGlobalContextCreateInGroup(_ group: JSContextGroupRef!, _ globalObjectClass: JSClassRef!) -> JSGlobalContextRef!JSGlobalContextIsInspectable(ctx?: (SDKHandle) | null): booleanSwift declarationfunc JSGlobalContextIsInspectable(_ ctx: JSGlobalContextRef!) -> BoolJSGlobalContextRelease(ctx?: (SDKHandle) | null): voidSwift declarationfunc JSGlobalContextRelease(_ ctx: JSGlobalContextRef!)JSGlobalContextRetain(ctx?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSGlobalContextRetain(_ ctx: JSGlobalContextRef!) -> JSGlobalContextRef!JSGlobalContextSetInspectable(ctx: (SDKHandle) | null, inspectable: boolean): voidSwift declarationfunc JSGlobalContextSetInspectable(_ ctx: JSGlobalContextRef!, _ inspectable: Bool)JSGlobalContextSetName(ctx?: (SDKHandle) | null, name?: (SDKHandle) | null): voidSwift declarationfunc JSGlobalContextSetName(_ ctx: JSGlobalContextRef!, _ name: JSStringRef!)JSObjectCopyPropertyNames(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSObjectCopyPropertyNames(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> JSPropertyNameArrayRef!JSObjectDeleteProperty(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null, propertyName?: (SDKHandle) | null): { $ret: boolean; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectDeleteProperty(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyName: JSStringRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> BoolOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectDeletePropertyForKey(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null, propertyKey?: (SDKHandle) | null): { $ret: boolean; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectDeletePropertyForKey(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyKey: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> BoolOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectGetArrayBufferByteLength(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): { $ret: number; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectGetArrayBufferByteLength(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> IntOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectGetArrayBufferBytesPtr(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectGetArrayBufferBytesPtr(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> UnsafeMutableRawPointer!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectGetPrivate(object?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSObjectGetPrivate(_ object: JSObjectRef!) -> UnsafeMutableRawPointer!JSObjectGetProperty(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null, propertyName?: (SDKHandle) | null): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectGetProperty(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyName: JSStringRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSValueRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectGetPropertyAtIndex(ctx: (SDKHandle) | null, object: (SDKHandle) | null, propertyIndex: number): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectGetPropertyAtIndex(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyIndex: UInt32, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSValueRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectGetPropertyForKey(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null, propertyKey?: (SDKHandle) | null): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectGetPropertyForKey(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyKey: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSValueRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectGetPrototype(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSObjectGetPrototype(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> JSValueRef!JSObjectGetTypedArrayBuffer(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectGetTypedArrayBuffer(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectGetTypedArrayByteLength(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): { $ret: number; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectGetTypedArrayByteLength(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> IntOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectGetTypedArrayByteOffset(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): { $ret: number; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectGetTypedArrayByteOffset(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> IntOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectGetTypedArrayBytesPtr(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectGetTypedArrayBytesPtr(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> UnsafeMutableRawPointer!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectGetTypedArrayLength(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): { $ret: number; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectGetTypedArrayLength(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> IntOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectHasProperty(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null, propertyName?: (SDKHandle) | null): booleanSwift declarationfunc JSObjectHasProperty(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyName: JSStringRef!) -> BoolJSObjectHasPropertyForKey(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null, propertyKey?: (SDKHandle) | null): { $ret: boolean; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectHasPropertyForKey(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyKey: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> BoolOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectIsConstructor(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): booleanSwift declarationfunc JSObjectIsConstructor(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> BoolJSObjectIsFunction(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null): booleanSwift declarationfunc JSObjectIsFunction(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> BoolJSObjectMake(ctx?: (SDKHandle) | null, jsClass?: (SDKHandle) | null, data?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSObjectMake(_ ctx: JSContextRef!, _ jsClass: JSClassRef!, _ data: UnsafeMutableRawPointer!) -> JSObjectRef!JSObjectMakeDeferredPromise(ctx?: (SDKHandle) | null): { $ret: (SDKHandle) | null; $out: { "resolve": (SDKHandle) | null; "reject": (SDKHandle) | null; "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectMakeDeferredPromise(_ ctx: JSContextRef!, _ resolve: UnsafeMutablePointer<JSObjectRef?>!, _ reject: UnsafeMutablePointer<JSObjectRef?>!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef!Omit the output parameters from the call. The result contains $ret and $out, with resolve, reject, exception inside $out.
JSObjectMakeTypedArray(ctx: (SDKHandle) | null, arrayType: JSTypedArrayType, length: number): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectMakeTypedArray(_ ctx: JSContextRef!, _ arrayType: JSTypedArrayType, _ length: Int, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectMakeTypedArrayWithArrayBuffer(ctx: (SDKHandle) | null, arrayType: JSTypedArrayType, buffer?: (SDKHandle) | null): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectMakeTypedArrayWithArrayBuffer(_ ctx: JSContextRef!, _ arrayType: JSTypedArrayType, _ buffer: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectMakeTypedArrayWithArrayBufferAndOffset(ctx: (SDKHandle) | null, arrayType: JSTypedArrayType, buffer: (SDKHandle) | null, byteOffset: number, length: number): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectMakeTypedArrayWithArrayBufferAndOffset(_ ctx: JSContextRef!, _ arrayType: JSTypedArrayType, _ buffer: JSObjectRef!, _ byteOffset: Int, _ length: Int, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectSetPrivate(object?: (SDKHandle) | null, data?: (SDKHandle) | null): booleanSwift declarationfunc JSObjectSetPrivate(_ object: JSObjectRef!, _ data: UnsafeMutableRawPointer!) -> BoolJSObjectSetProperty(ctx: (SDKHandle) | null, object: (SDKHandle) | null, propertyName: (SDKHandle) | null, value: (SDKHandle) | null, attributes: number): { $ret: null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectSetProperty(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyName: JSStringRef!, _ value: JSValueRef!, _ attributes: JSPropertyAttributes, _ exception: UnsafeMutablePointer<JSValueRef?>!)Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectSetPropertyAtIndex(ctx: (SDKHandle) | null, object: (SDKHandle) | null, propertyIndex: number, value?: (SDKHandle) | null): { $ret: null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectSetPropertyAtIndex(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyIndex: UInt32, _ value: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!)Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectSetPropertyForKey(ctx: (SDKHandle) | null, object: (SDKHandle) | null, propertyKey: (SDKHandle) | null, value: (SDKHandle) | null, attributes: number): { $ret: null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSObjectSetPropertyForKey(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyKey: JSValueRef!, _ value: JSValueRef!, _ attributes: JSPropertyAttributes, _ exception: UnsafeMutablePointer<JSValueRef?>!)Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSObjectSetPrototype(ctx?: (SDKHandle) | null, object?: (SDKHandle) | null, value?: (SDKHandle) | null): voidSwift declarationfunc JSObjectSetPrototype(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ value: JSValueRef!)JSPropertyNameAccumulatorAddName(accumulator?: (SDKHandle) | null, propertyName?: (SDKHandle) | null): voidSwift declarationfunc JSPropertyNameAccumulatorAddName(_ accumulator: JSPropertyNameAccumulatorRef!, _ propertyName: JSStringRef!)JSPropertyNameArrayGetCount(array?: (SDKHandle) | null): numberSwift declarationfunc JSPropertyNameArrayGetCount(_ array: JSPropertyNameArrayRef!) -> IntJSPropertyNameArrayGetNameAtIndex(array: (SDKHandle) | null, index: number): (SDKHandle) | nullSwift declarationfunc JSPropertyNameArrayGetNameAtIndex(_ array: JSPropertyNameArrayRef!, _ index: Int) -> JSStringRef!JSPropertyNameArrayRelease(array?: (SDKHandle) | null): voidSwift declarationfunc JSPropertyNameArrayRelease(_ array: JSPropertyNameArrayRef!)JSPropertyNameArrayRetain(array?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSPropertyNameArrayRetain(_ array: JSPropertyNameArrayRef!) -> JSPropertyNameArrayRef!JSStringCopyCFString(alloc?: (_CoreFoundation_CFAllocator) | null, string?: (SDKHandle) | null): (_CoreFoundation_CFString) | nullSwift declarationfunc JSStringCopyCFString(_ alloc: CFAllocator!, _ string: JSStringRef!) -> CFString!JSStringCreateWithCFString(string?: (_CoreFoundation_CFString) | null): (SDKHandle) | nullSwift declarationfunc JSStringCreateWithCFString(_ string: CFString!) -> JSStringRef!JSStringCreateWithCharacters(chars: (SDKHandle) | null, numChars: number): (SDKHandle) | nullSwift declarationfunc JSStringCreateWithCharacters(_ chars: UnsafePointer<JSChar>!, _ numChars: Int) -> JSStringRef!JSStringCreateWithUTF8CString(string?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSStringCreateWithUTF8CString(_ string: UnsafePointer<CChar>!) -> JSStringRef!JSStringGetCharactersPtr(string?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSStringGetCharactersPtr(_ string: JSStringRef!) -> UnsafePointer<JSChar>!JSStringGetLength(string?: (SDKHandle) | null): numberSwift declarationfunc JSStringGetLength(_ string: JSStringRef!) -> IntJSStringGetMaximumUTF8CStringSize(string?: (SDKHandle) | null): numberSwift declarationfunc JSStringGetMaximumUTF8CStringSize(_ string: JSStringRef!) -> IntJSStringGetUTF8CString(string: (SDKHandle) | null, buffer: (SDKHandle) | null, bufferSize: number): numberSwift declarationfunc JSStringGetUTF8CString(_ string: JSStringRef!, _ buffer: UnsafeMutablePointer<CChar>!, _ bufferSize: Int) -> IntJSStringIsEqual(a?: (SDKHandle) | null, b?: (SDKHandle) | null): booleanSwift declarationfunc JSStringIsEqual(_ a: JSStringRef!, _ b: JSStringRef!) -> BoolJSStringIsEqualToUTF8CString(a?: (SDKHandle) | null, b?: (SDKHandle) | null): booleanSwift declarationfunc JSStringIsEqualToUTF8CString(_ a: JSStringRef!, _ b: UnsafePointer<CChar>!) -> BoolJSStringRelease(string?: (SDKHandle) | null): voidSwift declarationfunc JSStringRelease(_ string: JSStringRef!)JSStringRetain(string?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSStringRetain(_ string: JSStringRef!) -> JSStringRef!JSValueCompare(ctx: SDKHandle, left: SDKHandle, right: SDKHandle): { $ret: JSRelationCondition; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueCompare(_ ctx: JSContextRef, _ left: JSValueRef, _ right: JSValueRef, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> JSRelationConditionOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueCompareDouble(ctx: SDKHandle, left: SDKHandle, right: number): { $ret: JSRelationCondition; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueCompareDouble(_ ctx: JSContextRef, _ left: JSValueRef, _ right: Double, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> JSRelationConditionOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueCompareInt64(ctx: SDKHandle, left: SDKHandle, right: number): { $ret: JSRelationCondition; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueCompareInt64(_ ctx: JSContextRef, _ left: JSValueRef, _ right: Int64, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> JSRelationConditionOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueCompareUInt64(ctx: SDKHandle, left: SDKHandle, right: number): { $ret: JSRelationCondition; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueCompareUInt64(_ ctx: JSContextRef, _ left: JSValueRef, _ right: UInt64, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> JSRelationConditionOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueCreateJSONString(ctx: (SDKHandle) | null, value: (SDKHandle) | null, indent: number): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueCreateJSONString(_ ctx: JSContextRef!, _ value: JSValueRef!, _ indent: UInt32, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSStringRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueGetType(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): JSTypeSwift declarationfunc JSValueGetType(_ ctx: JSContextRef!, _ value: JSValueRef!) -> JSTypeJSValueGetTypedArrayType(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): { $ret: JSTypedArrayType; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueGetTypedArrayType(_ ctx: JSContextRef!, _ value: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSTypedArrayTypeOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueIsArray(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsArray(_ ctx: JSContextRef!, _ value: JSValueRef!) -> BoolJSValueIsBigInt(ctx: SDKHandle, value: SDKHandle): booleanSwift declarationfunc JSValueIsBigInt(_ ctx: JSContextRef, _ value: JSValueRef) -> BoolJSValueIsBoolean(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsBoolean(_ ctx: JSContextRef!, _ value: JSValueRef!) -> BoolJSValueIsDate(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsDate(_ ctx: JSContextRef!, _ value: JSValueRef!) -> BoolJSValueIsEqual(ctx?: (SDKHandle) | null, a?: (SDKHandle) | null, b?: (SDKHandle) | null): { $ret: boolean; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueIsEqual(_ ctx: JSContextRef!, _ a: JSValueRef!, _ b: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> BoolOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueIsInstanceOfConstructor(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null, constructor?: (SDKHandle) | null): { $ret: boolean; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueIsInstanceOfConstructor(_ ctx: JSContextRef!, _ value: JSValueRef!, _ constructor: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> BoolOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueIsNull(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsNull(_ ctx: JSContextRef!, _ value: JSValueRef!) -> BoolJSValueIsNumber(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsNumber(_ ctx: JSContextRef!, _ value: JSValueRef!) -> BoolJSValueIsObject(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsObject(_ ctx: JSContextRef!, _ value: JSValueRef!) -> BoolJSValueIsObjectOfClass(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null, jsClass?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsObjectOfClass(_ ctx: JSContextRef!, _ value: JSValueRef!, _ jsClass: JSClassRef!) -> BoolJSValueIsStrictEqual(ctx?: (SDKHandle) | null, a?: (SDKHandle) | null, b?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsStrictEqual(_ ctx: JSContextRef!, _ a: JSValueRef!, _ b: JSValueRef!) -> BoolJSValueIsString(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsString(_ ctx: JSContextRef!, _ value: JSValueRef!) -> BoolJSValueIsSymbol(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsSymbol(_ ctx: JSContextRef!, _ value: JSValueRef!) -> BoolJSValueIsUndefined(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): booleanSwift declarationfunc JSValueIsUndefined(_ ctx: JSContextRef!, _ value: JSValueRef!) -> BoolJSValueMakeBoolean(ctx: (SDKHandle) | null, boolean: boolean): (SDKHandle) | nullSwift declarationfunc JSValueMakeBoolean(_ ctx: JSContextRef!, _ boolean: Bool) -> JSValueRef!JSValueMakeFromJSONString(ctx?: (SDKHandle) | null, string?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSValueMakeFromJSONString(_ ctx: JSContextRef!, _ string: JSStringRef!) -> JSValueRef!JSValueMakeNull(ctx?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSValueMakeNull(_ ctx: JSContextRef!) -> JSValueRef!JSValueMakeNumber(ctx: (SDKHandle) | null, number: number): (SDKHandle) | nullSwift declarationfunc JSValueMakeNumber(_ ctx: JSContextRef!, _ number: Double) -> JSValueRef!JSValueMakeString(ctx?: (SDKHandle) | null, string?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSValueMakeString(_ ctx: JSContextRef!, _ string: JSStringRef!) -> JSValueRef!JSValueMakeSymbol(ctx?: (SDKHandle) | null, description?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSValueMakeSymbol(_ ctx: JSContextRef!, _ description: JSStringRef!) -> JSValueRef!JSValueMakeUndefined(ctx?: (SDKHandle) | null): (SDKHandle) | nullSwift declarationfunc JSValueMakeUndefined(_ ctx: JSContextRef!) -> JSValueRef!JSValueProtect(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): voidSwift declarationfunc JSValueProtect(_ ctx: JSContextRef!, _ value: JSValueRef!)JSValueToBoolean(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): booleanSwift declarationfunc JSValueToBoolean(_ ctx: JSContextRef!, _ value: JSValueRef!) -> BoolJSValueToInt32(ctx: SDKHandle, value: SDKHandle): { $ret: number; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueToInt32(_ ctx: JSContextRef, _ value: JSValueRef, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> Int32Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueToInt64(ctx: SDKHandle, value: SDKHandle): { $ret: number; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueToInt64(_ ctx: JSContextRef, _ value: JSValueRef, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> Int64Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueToNumber(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): { $ret: number; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueToNumber(_ ctx: JSContextRef!, _ value: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> DoubleOmit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueToObject(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueToObject(_ ctx: JSContextRef!, _ value: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueToStringCopy(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): { $ret: (SDKHandle) | null; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueToStringCopy(_ ctx: JSContextRef!, _ value: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSStringRef!Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueToUInt32(ctx: SDKHandle, value: SDKHandle): { $ret: number; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueToUInt32(_ ctx: JSContextRef, _ value: JSValueRef, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> UInt32Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueToUInt64(ctx: SDKHandle, value: SDKHandle): { $ret: number; $out: { "exception": (SDKHandle) | null } }Swift declarationfunc JSValueToUInt64(_ ctx: JSContextRef, _ value: JSValueRef, _ exception: UnsafeMutablePointer<JSValueRef?>?) -> UInt64Omit the output parameters from the call. The result contains $ret and $out, with exception inside $out.
JSValueUnprotect(ctx?: (SDKHandle) | null, value?: (SDKHandle) | null): voidSwift declarationfunc JSValueUnprotect(_ ctx: JSContextRef!, _ value: JSValueRef!)const JSPropertyDescriptorConfigurableKey: stringSwift declarationlet JSPropertyDescriptorConfigurableKey: Stringconst JSPropertyDescriptorEnumerableKey: stringSwift declarationlet JSPropertyDescriptorEnumerableKey: Stringconst JSPropertyDescriptorGetKey: stringSwift declarationlet JSPropertyDescriptorGetKey: Stringconst JSPropertyDescriptorSetKey: stringSwift declarationlet JSPropertyDescriptorSetKey: Stringconst JSPropertyDescriptorValueKey: stringSwift declarationlet JSPropertyDescriptorValueKey: Stringconst JSPropertyDescriptorWritableKey: stringSwift declarationlet JSPropertyDescriptorWritableKey: Stringconst kJSClassDefinitionEmpty: JSClassDefinitionSwift declarationlet kJSClassDefinitionEmpty: JSClassDefinitionconst JSC_OBJC_API_ENABLED: numberSwift declarationvar JSC_OBJC_API_ENABLED: Int32 { get }31 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
JSRelationCondition
The iOS SDK compiler rejected this binding: type 'JSRelationCondition' has no member 'undefined'
JSClassDefinition.init(version:attributes:className:parentClass:staticValues:staticFunctions:initialize:finalize:hasProperty:getProperty:setProperty:deleteProperty:getPropertyNames:callAsFunction:callAsConstructor:hasInstance:convertToType:)
callback cannot propagate synchronous failure
JSClassDefinition.initialize
The iOS SDK compiler rejected this binding: a C function pointer can only be formed from a reference to a 'func' or a literal closure
JSClassDefinition.finalize
The iOS SDK compiler rejected this binding: a C function pointer can only be formed from a reference to a 'func' or a literal closure
JSClassDefinition.hasProperty
closure property answers its caller
JSClassDefinition.getProperty
closure property answers its caller
JSClassDefinition.setProperty
closure property answers its caller
JSClassDefinition.deleteProperty
closure property answers its caller
JSClassDefinition.getPropertyNames
The iOS SDK compiler rejected this binding: a C function pointer can only be formed from a reference to a 'func' or a literal closure
JSClassDefinition.callAsFunction
This output pointer cannot safely be represented by the bridge.
JSClassDefinition.callAsConstructor
This output pointer cannot safely be represented by the bridge.
JSClassDefinition.hasInstance
closure property answers its caller
JSClassDefinition.convertToType
closure property answers its caller
JSObjectCallAsConstructor(_:_:_:_:_:)
This output pointer cannot safely be represented by the bridge.
JSObjectCallAsFunction(_:_:_:_:_:_:)
This output pointer cannot safely be represented by the bridge.
JSObjectMakeArray(_:_:_:_:)
This output pointer cannot safely be represented by the bridge.
JSObjectMakeConstructor(_:_:_:)
This output pointer cannot safely be represented by the bridge.
JSObjectMakeDate(_:_:_:_:)
This output pointer cannot safely be represented by the bridge.
JSObjectMakeError(_:_:_:_:)
This output pointer cannot safely be represented by the bridge.
JSObjectMakeFunction(_:_:_:_:_:_:_:_:)
This output pointer cannot safely be represented by the bridge.
JSObjectMakeFunctionWithCallback(_:_:_:)
This output pointer cannot safely be represented by the bridge.
JSObjectMakeRegExp(_:_:_:_:)
This output pointer cannot safely be represented by the bridge.
JSStaticFunction.init(name:callAsFunction:attributes:)
This output pointer cannot safely be represented by the bridge.
JSStaticFunction.callAsFunction
This output pointer cannot safely be represented by the bridge.
JSStaticValue.init(name:getProperty:setProperty:attributes:)
This output pointer cannot safely be represented by the bridge.
JSStaticValue.getProperty
closure property answers its caller
JSStaticValue.setProperty
closure property answers its caller
JSObjectMakeArrayBufferWithBytesNoCopy(_:_:_:_:_:_:)
The iOS SDK compiler rejected this binding: a C function pointer cannot be formed from a closure that captures context
JSObjectMakeTypedArrayWithBytesNoCopy(_:_:_:_:_:_:_:)
The iOS SDK compiler rejected this binding: a C function pointer cannot be formed from a closure that captures context
JSManagedValue.init()
inherited init: cannot prove legal (class declares 2 custom initializers)