Android
android.app
public static abstract class

android.app.IIntentReceiver.Stub

java.lang.Object
android.os.Binder IBinder
android.app.IIntentReceiver.Stub IIntentReceiver

Local-side IPC implementation stub class.

Summary

Constants inherited from interface android.os.IBinder

Public Constructors

            IIntentReceiver.Stub()
Construct the stub at attach it to the interface.

Public Methods

          IBinder  asBinder()
Retrieve the Binder object associated with this interface.
      static    IIntentReceiver  asInterface(IBinder obj)
Cast an IBinder object into an IIntentReceiver interface, generating a proxy if needed.
          boolean  onTransact(int code, Parcel data, Parcel reply, int flags)
Default implementation is a stub that returns false.
Methods inherited from class android.os.Binder
Methods inherited from class java.lang.Object
Methods inherited from interface android.app.IIntentReceiver
Methods inherited from interface android.os.IBinder
Methods inherited from interface android.os.IInterface

Details

Public Constructors

public IIntentReceiver.Stub()

Construct the stub at attach it to the interface.

Public Methods

public IBinder asBinder()

Retrieve the Binder object associated with this interface. You must use this instead of a plain cast, so that proxy objects can return the correct result.

public static IIntentReceiver asInterface(IBinder obj)

Cast an IBinder object into an IIntentReceiver interface, generating a proxy if needed.

public boolean onTransact(int code, Parcel data, Parcel reply, int flags)

Default implementation is a stub that returns false. You will want to override this to do the appropriate unmarshalling of transactions.

If you want to call this, call transact().

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48