語言

ActionRequest.RequestTransport 欄位

定義

警告

This constant will be removed in the future version. Use Android.Companion.RequestAction enum directly instead of this field.

一個動作,表示請求伴隨應用程式附加或分離其系統資料傳輸。

[Android.Runtime.Register("REQUEST_TRANSPORT", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Companion.RequestAction enum directly instead of this field.", true)]
public const Android.Companion.RequestAction RequestTransport = 2;
[<Android.Runtime.Register("REQUEST_TRANSPORT", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Companion.RequestAction enum directly instead of this field.", true)>]
val mutable RequestTransport : Android.Companion.RequestAction

欄位值

Value = 2

實作

屬性

備註

一個動作,表示請求伴隨應用程式附加或分離其系統資料傳輸。

當系統發送此請求時,應用程式會收到回撥至 CompanionDeviceService.onActionRequested(AssociationInfo,ActionRequest),並包含此常數。

Android 參考資料。android.companion.ActionRequest.REQUEST_TRANSPORT

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於