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.

Only Essential Cookies
Accept All

Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.

HMS Core ReferencesNearby Servicenearby.transferDataFile

transfer.Data.File

CLASS info
public static class File
Represents the local file.

Public Method Summary

Return typeMethod Name
java.io.FileasJavaFile()
Converts the Data.File to a file.
ParcelFileDescriptor
asParcelFileDescriptor
()
Converts the Data.File to the ParcelFileDescriptor.
longgetSize()
Obtains the size of the Data.File.

Public Methods

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.
This page may contain third-party content. For details, click here.