public static interface

DataApi.GetFdForAssetResult

implements Releasable Result
com.google.android.gms.wearable.DataApi.GetFdForAssetResult

Class Overview

Contains a file descriptor for the requested asset.

Summary

Public Methods
abstract ParcelFileDescriptor getFd()
abstract InputStream getInputStream()
[Expand]
Inherited Methods
From interface com.google.android.gms.common.api.Releasable
From interface com.google.android.gms.common.api.Result

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 fildescriptor is, as well.