Notification.WearableExtender.SetContentIntentAvailableOffline Method
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.
Set whether the content intent is available when the wearable device is not connected to a companion device.
[Android.Runtime.Register("setContentIntentAvailableOffline", "(Z)Landroid/app/Notification$WearableExtender;", "")]
public Android.App.Notification.WearableExtender? SetContentIntentAvailableOffline(bool contentIntentAvailableOffline);
[<Android.Runtime.Register("setContentIntentAvailableOffline", "(Z)Landroid/app/Notification$WearableExtender;", "")>]
member this.SetContentIntentAvailableOffline : bool -> Android.App.Notification.WearableExtender
Parameters
- contentIntentAvailableOffline
- Boolean
boolean
Returns
This Android.App.Notification.WearableExtender instance, allowing calls to be chained.
- Attributes
Remarks
Set whether the content intent is available when the wearable device is not connected to a companion device. The user can still trigger this intent when the wearable device is offline, but a visual hint will indicate that the content intent may not be available. Defaults to true.
Android reference for android.app.Notification.WearableExtender.setContentIntentAvailableOffline.
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.