Package org.robolectric.shadows
Class ShadowRemoteCallbackList<E extends android.os.IInterface>
- java.lang.Object
-
- org.robolectric.shadows.ShadowRemoteCallbackList<E>
-
@Implements(android.os.RemoteCallbackList.class) public class ShadowRemoteCallbackList<E extends android.os.IInterface> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShadowRemoteCallbackList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intbeginBroadcast()protected voidfinishBroadcast()protected java.lang.ObjectgetBroadcastCookie(int index)protected EgetBroadcastItem(int index)protected voidkill()protected voidonCallbackDied(E callback)protected voidonCallbackDied(E callback, java.lang.Object cookie)protected booleanregister(E callback)protected booleanregister(E callback, java.lang.Object cookie)protected booleanunregister(E callback)
-
-
-
Method Detail
-
register
@Implementation protected boolean register(E callback)
-
register
@Implementation protected boolean register(E callback, java.lang.Object cookie)
-
unregister
@Implementation protected boolean unregister(E callback)
-
kill
@Implementation protected void kill()
-
onCallbackDied
@Implementation protected void onCallbackDied(E callback)
-
onCallbackDied
@Implementation protected void onCallbackDied(E callback, java.lang.Object cookie)
-
beginBroadcast
@Implementation protected int beginBroadcast()
-
getBroadcastItem
@Implementation protected E getBroadcastItem(int index)
-
getBroadcastCookie
@Implementation protected java.lang.Object getBroadcastCookie(int index)
-
finishBroadcast
@Implementation protected void finishBroadcast()
-
-