English | Site Directory

Android - An Open Handset Alliance Project

com.google.android.gtalkservice
public static abstract class

com.google.android.gtalkservice.IGTalkSession.Stub

java.lang.Object
android.os.Binder IBinder
com.google.android.gtalkservice.IGTalkSession.Stub IGTalkSession

Local-side IPC implementation stub class.

Summary

Constants inherited from interface android.os.IBinder

Public Constructors

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

Public Methods

        IBinder  asBinder()
Retrieve the Binder object associated with this interface.
      static  IGTalkSession  asInterface(IBinder obj)
Cast an IBinder object into an IGTalkSession 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 com.google.android.gtalkservice.IGTalkSession
Methods inherited from interface android.os.IInterface
Methods inherited from interface android.os.IBinder

Details

Public Constructors

public IGTalkSession.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 IGTalkSession asInterface(IBinder obj)

Cast an IBinder object into an IGTalkSession 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().
Build m5-rc15g - 14 May 2008 12:50