public interface PipeFileWriter<T>
You must implement this interface first if you want to call {@link ohos.aafwk.ability.Ability#createPipeFile(Uri, String, PacMap, T, PipeFileWriter Ability#createPipeFile(Uri, String, PacMap, T, PipeFileWriter} to transmit pipe data.
SystemCapability.Aafwk#ABILITYvoid write(FileDescriptor output, Uri uri, String mimeType, PacMap pacMap, T args)
FileDescriptor.
Note: The calling background thread may be blocked if data reading on the client is slow.
output - Indicates the FileDescriptor object into which the data is to be written. The system will
close this object after it returns from this method.uri - Indicates the source Uri object whose data will be written.mimeType - Indicates the MIME type of the data to write.pacMap - Indicates the PacMap object containing the additional parameters to be passed
in this call. This parameter can be null.args - Indicates the custom parameters that specify the data shared to the client. The type of this
parameter is the same as the generic type in PipeFileWriter<T>.