AW
2016-04-06 09:29:49 0 举报
AW,全称“Airwallex空中云汇”,是一家全球领先的跨境支付平台。它致力于为全球企业提供安全、便捷、高效的支付解决方案,帮助企业轻松应对跨境贸易的挑战。AW通过先进的技术和创新的服务,实现了多币种支付、实时结算、风险管理等功能,大大提高了企业的运营效率和资金利用率。同时,AW还拥有丰富的行业经验和专业的团队,能够为企业提供定制化的支付解决方案,满足不同行业和企业的需求。总之,AW是一个值得信赖的合作伙伴,能够帮助企业实现全球化发展。
作者其他创作
大纲/内容
TwsWearManagerClient$connect()
GoogleApiClient$Builder - addConnectionCallbacks()
ConnectionService
mListenerMap.get(arg1)等价于new IDataListener.Stub(){public void onDataChanged(DataEventParcelable dataEvent){arg1.onDataChanged(deb);}}
TwsWearClient$onServiceConnectedmConnectService\t\t\t\t.registerDataReceiveListener(TwsWearClient.this);
Wearable.API
TwsGoogleApiClient.Builder -addConnectionCallbacks()
GoogleApiClient$Builder - addScope()
final AbstractPendingResult result = new AbstractPendingResult(looper); Message msg = new Message(); msg.obj = result; new Handler(looper).sendMessage(msg); return result;
ConnectionService$setupBluetoothPipegetPipeHelper().registerMsgBigDataObserver(new Handler(new ReceiverHandlerCallback()));
GoogleApiClientImpl$connect();
com.tencent.tws.gms.wearable
APiConnection等价于TwsWearManagerClientImp
GoogleApiClient$Builder - build()
TwsGoogleApiClient.Builder twsBuilder = (TwsGoogleApiClient.Builder)mMapBuilder.get(googleBuilder);twsBuilder.addConnectionFailedListener()
impl$addListener()
TwsWearClient
TwsWearManagerClient$remoteClient()等价于ITwsWearClient 由于 mRemoteClient = getServiceInterface().create(getContext().getPackageName());等价于impl.create(getContext().getPackageName());等价于TwsWearManagerServiceImpl$create()
TwsWearClient$onReceivedentry.onDataChanged()
TwsGoogleApiClient.Builder - addApi()
public static final Api API = new Api(new WearableApiBuilder());
mGoogleApiClient.connect();
public ITwsWearClient create(String packageName) throws RemoteException {\t\treturn getManager().createClient(packageName);\t}
com.google.android.gms.wearable
GmsClient$connect()
void putDataItem(PutDataRequest request)
PendingRunnable
GmsClient
mGoogleApiClient.connect()等价于TwsWearManagerClientImpl$connect()等价于GmsClient$connect()
TwsGoogleApiClient.Builder - build()
TwsWearManagerClientImpl继承至TwsWearManagerClient继承至GmsClient
TwsGoogleApiClient.Builder twsBuilder = (TwsGoogleApiClient.Builder)mMapBuilder.get(googleBuilder);twsBuilder.addApi(Wearable.API)
GoogleApiClient$Builder - addApi()
com.tencent.tws.gms.wearable$WearableApiBuilder
TwsWearManagerClientImpl$IDataListener$onDataChanged()arg1.onDataChanged(deb);
TwsGoogleApiClient.Builder twsBuilder = (TwsGoogleApiClient.Builder)mMapBuilder.get(googleBuilder);twsBuilder.addConnectionCallbacks()
Wearable.DataApi
C connection = (C)apiClient.getApiConnection(api); result.deliverResult(callback.onClientAvailable(connection));
GoogleApiClient
MainActivity$onDataChanged()
TwsWearManagerClientImpl$addListener()remoteClient().addListener(mListenerMap.get(arg1))
TwsGoogleApiClient
TwsGoogleApiClient.Builder -addOnConnectionFailedListener()
TwsWearManagerClientImpl$connect()
TwsGoogleApiClient.Builder twsBuilder = (TwsGoogleApiClient.Builder)mMapBuilder.get(googleBuilder);twsBuilder.addScope()
TwsGoogleApiClient.Builder -addScope()
serviceInterface等价于impl(TwsWearManagerServiceImpl extends ITwsWearManagerService.Stub)
GoogleApiClient$Builder - addOnConnectionFailedListener()
class GoogleApiClientImpl implements GoogleApiClient
TwsWearManagerClient
GmsServiceConnection
TwsGoogleApiClient.Builder twsBuilder = (TwsGoogleApiClient.Builder)mMapBuilder.get(googleBuilder);ret = twsBuilder.build();
public Result onClientAvailable(TwsWearManagerClientImpl impl) throws RemoteException { return runnable.run(impl); }
IConectionService.aidl
TwsWearManagerService
0 条评论
回复 删除
下一页