RequestAction Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum RequestAction
type RequestAction =
- Inheritance
-
RequestAction
Fields
| Name | Value | Description |
|---|---|---|
| NearbyScanning | 0 | An action that signals a request for the companion app to change its nearby scanning state. When the system sends this request, the app receives a callback to CompanionDeviceService.onActionRequested(AssociationInfo,ActionRequest) with this constant. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| NearbyAdvertising | 1 | An action that signals a request for the companion app to change its nearby advertising state. When the system sends this request, the app receives a callback to CompanionDeviceService.onActionRequested(AssociationInfo,ActionRequest) with this constant. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Transport | 2 | An action that signals a request for the companion app to attach or detach its system data transport. When the system sends this request, the app receives a callback to CompanionDeviceService.onActionRequested(AssociationInfo,ActionRequest) with this constant. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |