Class FakeClock.HandlerMessage
- java.lang.Object
-
- com.google.android.exoplayer2.testutil.FakeClock.HandlerMessage
-
- All Implemented Interfaces:
HandlerWrapper.Message
,Comparable<FakeClock.HandlerMessage>
- Enclosing class:
- FakeClock
protected final class FakeClock.HandlerMessage extends Object implements Comparable<FakeClock.HandlerMessage>, HandlerWrapper.Message
Message data saved to send messages or execute runnables at a later time on a Handler.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(FakeClock.HandlerMessage other)
HandlerWrapper
getTarget()
SeeMessage.getTarget()
.void
sendToTarget()
-
-
-
Method Detail
-
sendToTarget
public void sendToTarget()
Description copied from interface:HandlerWrapper.Message
- Specified by:
sendToTarget
in interfaceHandlerWrapper.Message
-
getTarget
public HandlerWrapper getTarget()
Description copied from interface:HandlerWrapper.Message
SeeMessage.getTarget()
.- Specified by:
getTarget
in interfaceHandlerWrapper.Message
-
compareTo
public int compareTo(FakeClock.HandlerMessage other)
- Specified by:
compareTo
in interfaceComparable<FakeClock.HandlerMessage>
-
-