public static abstract class

DataClient.GetFdForAssetResponse

extends Object
implements Releasable
java.lang.Object
   ↳ com.google.android.gms.wearable.DataClient.GetFdForAssetResponse

Class Overview

Contains a file descriptor for the requested asset.

This object should be released after use.

Summary

Public Constructors
DataClient.GetFdForAssetResponse()
Public Methods
abstract ParcelFileDescriptor getFdForAsset()
Returns a file descriptor for the requested asset.
abstract InputStream getInputStream()
Returns an input stream wrapping the file descriptor.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.android.gms.common.api.Releasable

Public Constructors

public DataClient.GetFdForAssetResponse ()

Public Methods

public abstract ParcelFileDescriptor getFdForAsset ()

Returns a file descriptor for the requested asset.

Returns
ParcelFileDescriptor

public abstract InputStream getInputStream ()

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

Returns
InputStream