Available on crate feature
api-12 only.Functions§
- OH_
ArkUI_ ⚠GetContext From Napi Value - Obtains a UIContext object on the ArkTS side and maps it to an ArkUI_ContextHandle object on the native side.
- OH_
ArkUI_ ⚠GetDrawable Descriptor From Napi Value - Obtains a DrawableDescriptor object on the ArkTS side and maps it to an ArkUI_DrawableDescriptro object on the native side.
- OH_
ArkUI_ ⚠GetDrawable Descriptor From Resource Napi Value - Obtains a Resource object on the ArkTS side and maps it to an ArkUI_DrawableDescriptro object on the native side.
- OH_
ArkUI_ ⚠GetNav Destination Id - Obtain the ID of the NavDestination component where the node is located.
- OH_
ArkUI_ ⚠GetNav Destination Index - Obtain the index of the NavDestination component on the Navigation stack where the node is located.
- OH_
ArkUI_ ⚠GetNav Destination Name - Obtain the name of the NavDestination component where the node is located.
- OH_
ArkUI_ ⚠GetNav Destination Name ByIndex - Based on the given index value, obtain the page name of the corresponding position in the navigation stack where the node is located. Index values are counted from 0, with 0 being the bottom of the stack.
- OH_
ArkUI_ ⚠GetNav Destination Param - Obtain the parameters of the NavDestination component where the node is located.
- OH_
ArkUI_ ⚠GetNav Destination State - Obtain the state of the NavDestination component where the node is located.
- OH_
ArkUI_ ⚠GetNav Stack Length - Based on the given index value, obtain the length of the Navigation stack where the node is located.
- OH_
ArkUI_ ⚠GetNavigation Id - Obtain the ID of the Navigation component where the node is located.
- OH_
ArkUI_ ⚠GetNode Content From Napi Value - Obtains a NodeContent object on the ArkTS side and maps it to an ArkUI_NodeContentHandle object on the native side.
- OH_
ArkUI_ ⚠GetNode Handle From Napi Value - Obtains a FrameNode object on the ArkTS side and maps it to an ArkUI_NodeHandle object on the native side.
- OH_
ArkUI_ ⚠GetRouter Page Id - Obtain the ID of the page where the node is located.
- OH_
ArkUI_ ⚠GetRouter Page Index - Obtain the index of the page where the node resides in the Router page stack.
- OH_
ArkUI_ ⚠GetRouter Page Name - Obtain the name of the page where the node is located.
- OH_
ArkUI_ ⚠GetRouter Page Path - Obtain the path of the page where the node is located.
- OH_
ArkUI_ ⚠GetRouter Page State - Obtain the state of the page where the node is located.
- OH_
ArkUI_ ⚠Post Frame Callback api-18 - Register a callback to be executed when rendering in the next frame. Cannot be called on the non-UI thread. Checking for non-UI thread calls will abort.