Udostępnij za pośrednictwem


PackageInstaller.Session.Fsync(Stream) Method

Definition

Ensure that any outstanding data for given stream has been committed to disk.

[Android.Runtime.Register("fsync", "(Ljava/io/OutputStream;)V", "GetFsync_Ljava_io_OutputStream_Handler")]
public virtual void Fsync (System.IO.Stream out);
[<Android.Runtime.Register("fsync", "(Ljava/io/OutputStream;)V", "GetFsync_Ljava_io_OutputStream_Handler")>]
abstract member Fsync : System.IO.Stream -> unit
override this.Fsync : System.IO.Stream -> unit

Parameters

out
Stream
Attributes

Remarks

Ensure that any outstanding data for given stream has been committed to disk. This is only valid for streams returned from #openWrite(String, long, long).

Java documentation for android.content.pm.PackageInstaller.Session.fsync(java.io.OutputStream).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to