Get wrong result 可能原因 server端返回实际数据不当 处理步骤 server端返回值检查 14300005 notify注册失败 错误信息 Fail to register notification 可能原因 1.server端服务不在 2.extension机制异常 处理步骤 检查server端服务是否存在 14300006 notify移除失败 错误信息 Fail to remove notification ...
Get wrong result 可能原因 server端返回实际数据不当 处理步骤 server端返回值检查 14300005 notify注册失败 错误信息 Fail to register notification 可能原因 1.server端服务不在 2.extension机制异常 处理步骤 检查server端服务是否存在 14300006 notify移除失败 错误信息 Fail to remove notification 可能原因...
* Query the want information of HAP configured with fileaccess. * * @permission ohos.permission.FILE_ACCESS_MANAGER and ohos.permission.GET_BUNDLE_INFO_PRIVILEGED * @param { AsyncCallback<Array<Want>> } callback - The callback is used to return a Array<Want> object. * @throws { Bus...
file string|number 是 文件应用沙箱路径path或已打开的文件描述符fd。 callback AsyncCallback<Stat> 是 异步获取文件的信息之后的回调。 错误码: 接口抛出错误码的详细介绍请参见基础文件IO错误码。 示例: fs.stat(pathDir, (err, stat) => { if (err) { console.error("get file info failed ...
os.path.isfile(name):判断name是不是一个文件,不存在name也返回false os.path.exists(name):判断是否存在文件或目录name os.path.getsize(name):获得文件大小,如果name是目录返回0L os.path.abspath(name):获得绝对路径 os.path.normpath(path):规范path字符串形式 ...
file string|number 是 文件应用沙箱路径path或已打开的文件描述符fd。 callback AsyncCallback<Stat> 是 异步获取文件的信息之后的回调。 错误码: 接口抛出错误码的详细介绍请参见基础文件IO错误码。 示例: fs.stat(pathDir, (err, stat) => { if (err) { console.error("get file info fail...
public CachingType caching() Get the caching property: The type of caching to enable for the disk. Returns: the caching value.diskSizeGB public Integer diskSizeGB() Get the diskSizeGB property: The initial disk size in GB when creating new OS disk. Returns: the diskSizeGB value.ephemeralOSDi...
public CachingType caching() Get the caching property: The type of caching to enable for the disk. Returns: the caching value.diskSizeGB public Integer diskSizeGB() Get the diskSizeGB property: The initial disk size in GB when creating new OS disk. Returns: the diskSizeGB value.ephemeralOSDi...
Extension Methods Udvid tabel JavaCast<TResult>(IJavaObject) Performs an Android runtime-checked type conversion. JavaCast<TResult>(IJavaObject) GetJniTypeName(IJavaPeerable) Applies to ProduktVersions .NET for Android .NET for Android API 33, .NET for Android API 34 I...
GetHashCode() Returns a hash code value for the object. (Inherited from Object) JavaFinalize() Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) Notify() Wakes up a single thread tha...