CompanionDeviceManager.StartSystemDataTransfer メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ユーザーによって以前に承認されたシステム データ転送を開始します。
[Android.Runtime.Register("startSystemDataTransfer", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void StartSystemDataTransfer(int associationId, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver result);
[<Android.Runtime.Register("startSystemDataTransfer", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
member this.StartSystemDataTransfer : int * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
パラメーター
- associationId
- Int32
CompanionDeviceManager によって記録されたコンパニオン デバイスの関連付けに割り当てられた一意のAssociationInfo#getId ID
- executor
- IExecutor
結果コールバックの呼び出しに使用される Executor。
- result
- IOutcomeReceiver
システム データ転送の結果をアプリに通知するコールバック。
- 属性
注釈
ユーザーによって以前に承認されたシステム データ転送を開始します。
このメソッドを呼び出す前に、アプリで #attachSystemDataTransport(int, InputStream, OutputStream) the transport channel is attachedと #buildPermissionTransferUserConsentIntent(int) the user consent dialog has prompted to the userを確認する必要があります。 転送中にトランスポート チャネルが切断または #detachSystemDataTransport(int) detached された場合、転送は失敗します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。