Package org.robolectric.shadows
Class ShadowRemoteCallbackList<E extends IInterface>
- java.lang.Object
-
- org.robolectric.shadows.ShadowRemoteCallbackList<E>
-
@Implements(android.os.RemoteCallbackList.class) public class ShadowRemoteCallbackList<E extends IInterface> extends 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 ObjectgetBroadcastCookie(int index)protected EgetBroadcastItem(int index)protected intgetRegisteredCallbackCount()protected voidkill()protected voidonCallbackDied(E callback)protected voidonCallbackDied(E callback, Object cookie)protected booleanregister(E callback)protected booleanregister(E callback, Object cookie)protected booleanunregister(E callback)
-
-
-
Method Detail
-
register
@Implementation protected boolean register(E callback)
-
register
@Implementation protected boolean register(E callback, 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, Object cookie)
-
beginBroadcast
@Implementation protected int beginBroadcast()
-
getBroadcastItem
@Implementation protected E getBroadcastItem(int index)
-
getBroadcastCookie
@Implementation protected Object getBroadcastCookie(int index)
-
finishBroadcast
@Implementation protected void finishBroadcast()
-
getRegisteredCallbackCount
@Implementation(minSdk=17) protected int getRegisteredCallbackCount()
-
-