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 int
beginBroadcast()
protected void
finishBroadcast()
protected Object
getBroadcastCookie(int index)
protected E
getBroadcastItem(int index)
protected int
getRegisteredCallbackCount()
protected void
kill()
protected void
onCallbackDied(E callback)
protected void
onCallbackDied(E callback, Object cookie)
protected boolean
register(E callback)
protected boolean
register(E callback, Object cookie)
protected boolean
unregister(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()
-
-