NotificationCompat.Action.WearableExtender

This package is part of the
Android support library which
is no longer maintained.
The support library has been superseded by AndroidX
which is part of Jetpack.
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating existing projects to AndroidX.

isAvailableOffline

Get whether this action is available when the wearable device is not connected to
a companion device. The user can still trigger this action when the wearable device
is offline, but a visual hint will indicate that the action may not be available.
Defaults to true.

Returns

boolean

setAvailableOffline

Set whether this action is available when the wearable device is not connected to
a companion device. The user can still trigger this action when the wearable device
is offline, but a visual hint will indicate that the action may not be available.
Defaults to true.