ActionRequest.RequestNearbyAdvertising Field
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.
Caution
This constant will be removed in the future version. Use Android.Companion.RequestAction enum directly instead of this field.
An action that signals a request for the companion app to change its nearby advertising state.
[Android.Runtime.Register("REQUEST_NEARBY_ADVERTISING", 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 RequestNearbyAdvertising = 1;
[<Android.Runtime.Register("REQUEST_NEARBY_ADVERTISING", 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 RequestNearbyAdvertising : Android.Companion.RequestAction
Field Value
Value = 1Implements
- Attributes
Remarks
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 android.companion.ActionRequest.REQUEST_NEARBY_ADVERTISING.
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.