Indicates the callback containing the ResourceManager object. |
Indicates the callback containing the ResourceManager object. |
Promise<ResourceManager> |
Indicates that the ResourceManager object is returned in Promise mode. |
Promise<ResourceManager> |
Indicates that the ResourceManager object is returned in Promise mode. |
Returns an error if an exception is thrown during execution; returns an empty value otherwise. |
|||
Returns a T object if the execution is successful; returns an empty value otherwise. |
Indicates the current system language, for example, zh-Hans-CN. |
AsyncCallback<string> |
Indicates the asynchronous callback used to return the obtained character string. |
Indicates the character string corresponding to the resource ID. |
AsyncCallback<Array<string>> |
Indicates the asynchronous callback used to return the obtained array of character strings. |
Indicates the array of character strings corresponding to the specified resource ID. |
AsyncCallback<Array<Uint8Array>> |
Indicates the asynchronous callback used to return the obtained media file content. |
Indicates the content of the media file corresponding to the specified resource ID. |
AsyncCallback<string> |
Indicates the asynchronous callback used to return the obtained Base64 code of the image resource. |
Indicates the Base64 code of the image resource corresponding to the specified resource ID. |
Indicates the asynchronous callback used to return the obtained device configuration. |
Promise<Configuration> |
Indicates the asynchronous callback used to return the obtained device capability. |
Promise<DeviceCapability> |
AsyncCallback<string> |
Indicates the asynchronous callback used to return the singular-plural character string represented by the ID string corresponding to the specified number. |
Indicates the singular-plural character string represented by the ID string corresponding to the specified number. |