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 Details

    • ShadowRemoteCallbackList

      public ShadowRemoteCallbackList()
  • Method Details

    • 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 protected int getRegisteredCallbackCount()