已合并
【跨平台】【FileUri】删除不支持的静态方法toString的说明 #355
quguiren创建于 29 天前
【跨平台】【FileUri】删除不支持的静态方法toString的说明 #355
已合并
共 1 个文件变更+0-24
| @@ -73,30 +73,6 @@ constructor是FileUri的构造函数。 | |||
| 73 | console.info("The name of FileUri is " + fileUriObject.name); | 73 | console.info("The name of FileUri is " + fileUriObject.name); |
| 74 | ``` | 74 | ``` |
| 75 | 75 | ||
| 76 | -### toString | ||
| 77 | - | ||
| 78 | -toString(): string | ||
| 79 | - | ||
| 80 | -**系统能力**:SystemCapability.FileManagement.AppFileService | ||
| 81 | - | ||
| 82 | -**支持平台:** Android、iOS | ||
| 83 | - | ||
| 84 | -返回字符串类型URI。 | ||
| 85 | - | ||
| 86 | -**返回值:** | ||
| 87 | - | ||
| 88 | -| 类型 | 说明 | | ||
| 89 | -| -------- | -------- | | ||
| 90 | -| string | 返回字符串类型URI。 | | ||
| 91 | - | ||
| 92 | -**示例:** | ||
| 93 | - | ||
| 94 | - ```ts | ||
| 95 | - let path = pathDir + '/test'; | ||
| 96 | - let fileUriObject = new fileUri.FileUri(path); | ||
| 97 | - console.info("The uri of FileUri is " + fileUriObject.toString()); | ||
| 98 | - ``` | ||
| 99 | - | ||
| 100 | ### getFullDirectoryUri | 76 | ### getFullDirectoryUri |
| 101 | 77 | ||
| 102 | getFullDirectoryUri(): string | 78 | getFullDirectoryUri(): string |