Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HUAWEI HMS Core
Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.
| CLASS info |
| public static class File |
| Represents the local file. |
| Return type | Method Name |
| java.io.File | asJavaFile() Converts the Data.File to a file. |
| ParcelFileDescriptor | asParcelFileDescriptor() Converts the Data.File to the ParcelFileDescriptor. |
| long | getSize() Obtains the size of the Data.File. |
| Method |
| public java.io.File asJavaFile() |
| Converts the Data.File to a file. |
| Method |
| public ParcelFileDescriptor asParcelFileDescriptor() |
| Converts the Data.File to the ParcelFileDescriptor. |
| Method |
| public long getSize() |
| Obtains the size of the Data.File. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.