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 Stream |
| Data stream. |
| Return Type | Method Name |
| InputStream | asInputStream() Obtains InputStream from Data.Stream. When receiving a payload of the string type, Nearby Transfer will continuously write input data streams to the InputStream. When no more data is available (for example, the sending device stops sending data streams), the InputStream is closed. |
| ParcelFileDescriptor | asParcelFileDescriptor() Obtains ParcelFileDescriptor from Data.Stream. |
| Method |
| public ParcelFileDescriptor asParcelFileDescriptor() |
| Obtains ParcelFileDescriptor from Data.Stream. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.