WebAssembly
Overview
Helper class to access the webassembly runtime.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Platforms: WebAssembly
constructor protected
constructor
WebAssembly()
init()
WebAssembly()
Sub New()
ClearInterval
Stops an interval timer.
class method ClearInterval(aVal: Int32)
static void ClearInterval(Int32 aVal)
static func ClearInterval(_ aVal: Int32)
static void ClearInterval(Int32 aVal)
Shared Sub ClearInterval(aVal As Int32)
Parameters:
- aVal:
CreateArray
Create a new array.
class method CreateArray: dynamic
static dynamic CreateArray()
static func CreateArray() -> dynamic
static dynamic CreateArray()
Shared Function CreateArray() As dynamic
CreateHandle
Creates a handle for a given object.
Parameters:
- aVal:
- StringAsObject:
CreateObject
Create a new empty javascript object.
class method CreateObject: dynamic
static dynamic CreateObject()
static func CreateObject() -> dynamic
static dynamic CreateObject()
Shared Function CreateObject() As dynamic
CreateProxy
Create a proxy for a given type.
class method CreateProxy(o: Object): EcmaScriptObject
static EcmaScriptObject CreateProxy(Object o)
static func CreateProxy(_ o: Object) -> EcmaScriptObject
static EcmaScriptObject CreateProxy(Object o)
Shared Function CreateProxy(o As Object) As EcmaScriptObject
Parameters:
- o:
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Eval
Does a javascript eval and returns the result.
class method Eval(s: String): dynamic
static dynamic Eval(String s)
static func Eval(_ s: String) -> dynamic
static dynamic Eval(String s)
Shared Function Eval(s As String) As dynamic
Parameters:
- s:
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetObjectForHandle
Returns the object value given a handle.
Parameters:
- aHandle:
GetStringFromHandle
Returns a string, given a handle.
Parameters:
- handle:
- aFree:
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Global
Returns the Global object.
class property Global: dynamic read write;
class dynamic Global { get; set; }
static var Global: dynamic { get{} set{} }
class dynamic Global { __get; __set; }
Shared Property Global() As dynamic
InvokeMethod
Parameters:
- aPtr:
- args:
- aResultType:
Object
Returns the javascript Object type /function.
class property Object: dynamic read write;
class dynamic Object { get; set; }
static var Object: dynamic { get{} set{} }
class dynamic Object { __get; __set; }
Shared Property Object() As dynamic
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
ReflectConstruct
Parameters:
- aClassName:
- aArgs:
ReleaseProxy
Release a proxy.
class method ReleaseProxy(o: EcmaScriptObject)
static void ReleaseProxy(EcmaScriptObject o)
static func ReleaseProxy(_ o: EcmaScriptObject)
static void ReleaseProxy(EcmaScriptObject o)
Shared Sub ReleaseProxy(o As EcmaScriptObject)
Parameters:
- o:
SetInterval
Creates a new javascript interval (triggers the delegate every aTimeout msec).
Parameters:
- aFN:
- aTimeOut:
SetTimeout
Creates a new javascript timeout (triggers the delegate once at aTimeout msec).
Parameters:
- aFN:
- aTimeOut:
TaskWrap
Parameters:
- aTarget:
- aInput:
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Unwrap
Internal api.
Parameters:
- o:
UnwrapCall
Internal api.
Parameters:
- aType:
- aVal:
Wrap
Internal api.
Parameters:
- o:
Global
Returns the Global object.
class property Global: dynamic read write;
class dynamic Global { get; set; }
static var Global: dynamic { get{} set{} }
class dynamic Global { __get; __set; }
Shared Property Global() As dynamic
Object
Returns the javascript Object type /function.
class property Object: dynamic read write;
class dynamic Object { get; set; }
static var Object: dynamic { get{} set{} }
class dynamic Object { __get; __set; }
Shared Property Object() As dynamic
ClearInterval
Stops an interval timer.
class method ClearInterval(aVal: Int32)
static void ClearInterval(Int32 aVal)
static func ClearInterval(_ aVal: Int32)
static void ClearInterval(Int32 aVal)
Shared Sub ClearInterval(aVal As Int32)
Parameters:
- aVal:
CreateArray
Create a new array.
class method CreateArray: dynamic
static dynamic CreateArray()
static func CreateArray() -> dynamic
static dynamic CreateArray()
Shared Function CreateArray() As dynamic
CreateHandle
Creates a handle for a given object.
Parameters:
- aVal:
- StringAsObject:
CreateObject
Create a new empty javascript object.
class method CreateObject: dynamic
static dynamic CreateObject()
static func CreateObject() -> dynamic
static dynamic CreateObject()
Shared Function CreateObject() As dynamic
CreateProxy
Create a proxy for a given type.
class method CreateProxy(o: Object): EcmaScriptObject
static EcmaScriptObject CreateProxy(Object o)
static func CreateProxy(_ o: Object) -> EcmaScriptObject
static EcmaScriptObject CreateProxy(Object o)
Shared Function CreateProxy(o As Object) As EcmaScriptObject
Parameters:
- o:
Eval
Does a javascript eval and returns the result.
class method Eval(s: String): dynamic
static dynamic Eval(String s)
static func Eval(_ s: String) -> dynamic
static dynamic Eval(String s)
Shared Function Eval(s As String) As dynamic
Parameters:
- s:
GetObjectForHandle
Returns the object value given a handle.
Parameters:
- aHandle:
GetStringFromHandle
Returns a string, given a handle.
Parameters:
- handle:
- aFree:
InvokeMethod
Parameters:
- aPtr:
- args:
- aResultType:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
ReflectConstruct
Parameters:
- aClassName:
- aArgs:
ReleaseProxy
Release a proxy.
class method ReleaseProxy(o: EcmaScriptObject)
static void ReleaseProxy(EcmaScriptObject o)
static func ReleaseProxy(_ o: EcmaScriptObject)
static void ReleaseProxy(EcmaScriptObject o)
Shared Sub ReleaseProxy(o As EcmaScriptObject)
Parameters:
- o:
SetInterval
Creates a new javascript interval (triggers the delegate every aTimeout msec).
Parameters:
- aFN:
- aTimeOut:
SetTimeout
Creates a new javascript timeout (triggers the delegate once at aTimeout msec).
Parameters:
- aFN:
- aTimeOut:
TaskWrap
Parameters:
- aTarget:
- aInput:
Unwrap
Internal api.
Parameters:
- o:
UnwrapCall
Internal api.
Parameters:
- aType:
- aVal:
Wrap
Internal api.
Parameters:
- o:
constructor protected
constructor
WebAssembly()
init()
WebAssembly()
Sub New()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
ToString virtual (declared in Object)
Gets the string representation of this method.