TestLooperManager.PeekWhen 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.
Retrieves, but does not remove, the values of Message#when
of next message in the
queue.
[Android.Runtime.Register("peekWhen", "()Ljava/lang/Long;", "GetPeekWhenHandler", ApiSince=36)]
public virtual Java.Lang.Long? PeekWhen();
[<Android.Runtime.Register("peekWhen", "()Ljava/lang/Long;", "GetPeekWhenHandler", ApiSince=36)>]
abstract member PeekWhen : unit -> Java.Lang.Long
override this.PeekWhen : unit -> Java.Lang.Long
Returns
- Attributes
Remarks
Retrieves, but does not remove, the values of Message#when
of next message in the queue. If the queue is empty, returns null. This method never blocks.
Java documentation for android.os.TestLooperManager.peekWhen()
.
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.