IJsiHostObject
Kind: interface
EXPERIMENTAL
An experimental API. Do not use it directly. It may be removed or changed in a future version. Instead, use the JSI API that uses this API internally.
See the ExecuteJsi
method in JsiApiContext.h
of the Microsoft.ReactNative.Cxx
shared project, or the examples of the JSI-based TurboModules in the Microsoft.ReactNative.IntegrationTests
project.
Note that the JSI is defined only for C++ code. We plan to add the .Net support in future.
Methods
GetProperty
JsiValueRef
GetProperty
(JsiRuntime
runtime, JsiPropertyIdRef
propertyId)
GetPropertyIds
IVector
<JsiPropertyIdRef
> GetPropertyIds
(JsiRuntime
runtime)
SetProperty
void SetProperty
(JsiRuntime
runtime, JsiPropertyIdRef
propertyId, JsiValueRef
value)