Android IPC 之 AIDL 使用,我三年开发经验从字节跳动抖音离职后
作者:互联网
{
return this;
}
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{
…
}
private static class Proxy implements com.scc.demo.ipc.IUserInterface
{
…
}
static final int TRANSACTION_basicTypes = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
public static boolean setDefaultImpl(com.scc.demo.ipc.IUserInterface impl) {
…
}
public static com.scc.demo.ipc.IUserInterface getDefaultImpl() {
return Stub.Proxy.sDefaultImpl;
}
}
/**
* Demonstrates some basic types that you can use as parameters
* and return values in AIDL.
*/
public void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat, double aDouble, java.lang.String aString) throws android.os.RemoteException;
}
标签:IPC,AIDL,int,void,User,IUserInterface,Override,Android,public 来源: https://blog.csdn.net/wa2231a/article/details/122781656