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
システム データ転送の結果をアプリに通知するコールバック。
- 属性
注釈
ユーザーによって以前に承認されたシステム データ転送を開始します。
このメソッドを呼び出す前に、アプリで 、、 #buildPermissionTransferUserConsentIntent(int) the user consent dialog has prompted to the user
を確認#attachSystemDataTransport(int, InputStream, OutputStream) the transport channel is attached
する必要があります。 転送チャネルが切断されている場合、または #detachSystemDataTransport(int) detached
転送中に転送が失敗します。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。