Java.Nio.Channels.FileLock.Release Method
Releases this particular lock on the file.

Syntax

[Android.Runtime.Register("release", "()V", "GetReleaseHandler")]
public abstract void Release ()

Exceptions

TypeReason
Java.Nio.Channels.ClosedChannelExceptionif the channel is already closed when an attempt to release the lock is made.
Java.IO.IOExceptionif another I/O error occurs.

Remarks

Releases this particular lock on the file. If the lock is invalid then this method has no effect. Once released, the lock becomes invalid.

[Android Documentation]

Requirements

Namespace: Java.Nio.Channels
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1