Code example for IBinder

Methods: queryLocalInterface

0
public static com.giantrabbit.nagare.INagareService asInterface(android.os.IBinder obj)
{ 
if ((obj==null)) {
return null; 
} 
com.giantrabbit.nagare.INagareService in = (com.giantrabbit.nagare.INagareService)obj.queryLocalInterface(DESCRIPTOR);
if ((in!=null)) {
return in;
} 
return new com.giantrabbit.nagare.INagareService.Stub.Proxy(obj);
} 
public android.os.IBinder asBinder()
{ 
return this;
} 
public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{ 
switch (code)
{ 
case INTERFACE_TRANSACTION:
{