FileLock.AcquiredBy 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 channel upon whose file this lock was acquired.
[Android.Runtime.Register("acquiredBy", "()Ljava/nio/channels/Channel;", "GetAcquiredByHandler", ApiSince=24)]
public virtual Java.Nio.Channels.IChannel? AcquiredBy ();
[<Android.Runtime.Register("acquiredBy", "()Ljava/nio/channels/Channel;", "GetAcquiredByHandler", ApiSince=24)>]
abstract member AcquiredBy : unit -> Java.Nio.Channels.IChannel
override this.AcquiredBy : unit -> Java.Nio.Channels.IChannel
Returns
The channel upon whose file this lock was acquired.
- Attributes
Remarks
Returns the channel upon whose file this lock was acquired.
Added in 1.7.
Java documentation for java.nio.channels.FileLock.acquiredBy()
.
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.