Added in API level 11

ContentProvider.PipeDataWriter


public static interface ContentProvider.PipeDataWriter



Interface to write a stream of data to a pipe. Use with ContentProvider.openPipeHelper.

Summary

Public methods

abstract void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, T args)

Called from a background thread to stream data out to a pipe.

Public methods

writeDataToPipe

Added in API level 11
public abstract void writeDataToPipe (ParcelFileDescriptor output, 
                Uri uri, 
                String mimeType, 
                Bundle opts, 
                T args)

Called from a background thread to stream data out to a pipe. Note that the pipe is blocking, so this thread can block on writes for an arbitrary amount of time if the client is slow at reading.