FileLock.Channel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the file channel upon whose file this lock was acquired.
[Android.Runtime.Register("channel", "()Ljava/nio/channels/FileChannel;", "")]
public Java.Nio.Channels.FileChannel? Channel ();
[<Android.Runtime.Register("channel", "()Ljava/nio/channels/FileChannel;", "")>]
member this.Channel : unit -> Java.Nio.Channels.FileChannel
Returns
The file channel, or null
if the file lock was not
acquired by a file channel.
- Attributes
Remarks
Returns the file channel upon whose file this lock was acquired.
This method has been superseded by the #acquiredBy acquiredBy
method.
Java documentation for java.nio.channels.FileLock.channel()
.
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.