com.google.android.gms.gcm.PendingCallback

Here are the examples of the java api class com.google.android.gms.gcm.PendingCallback taken from open source projects.

1. GooglePlayCallbackExtractorTest#testExtractCallback_goodParcelable()

Project: firebase-jobdispatcher-android
File: GooglePlayCallbackExtractorTest.java
@Test
public void testExtractCallback_goodParcelable() {
    Parcel container = Parcel.obtain();
    container.writeStrongBinder(new NopCallback());
    PendingCallback pcb = new PendingCallback(container);
    Bundle validBundle = new Bundle();
    validBundle.putParcelable("callback", pcb);
    assertNotNull(mExtractor.extractCallback(validBundle));
}