Hide

DataApi.GetFdForAssetResult

public static interface DataApi.GetFdForAssetResult implements Result Releasable
com.google.android.gms.wearable.DataApi.GetFdForAssetResult

Contains a file descriptor for the requested asset.

This object should be released after use.

Public Method Summary

abstract ParcelFileDescriptor
getFd()
abstract InputStream

Public Methods

public abstract ParcelFileDescriptor getFd ()

Returns a file descriptor for the requested asset.

public abstract InputStream getInputStream ()

Returns an input stream wrapping the file descriptor. When this input stream is closed, the file descriptor is, as well.