NotificationCompat.WearableExtender

Added in 1.1.0

class NotificationCompat.WearableExtender : NotificationCompat.Extender


Helper class to add wearable extensions to notifications.

See Creating Notifications for Android Wear for more information on how to use this class.

To create a notification with wearable extensions:

  1. Create a NotificationCompat.Builder, setting any desired properties.
  2. Create a NotificationCompat.WearableExtender.
  3. Set wearable-specific properties using the add and set methods of NotificationCompat.WearableExtender.
  4. Call extend to apply the extensions to a notification.
  5. Post the notification to the notification system with the NotificationManagerCompat.notify(...) methods and not the NotificationManager.notify(...) methods.
Notification notification = new NotificationCompat.Builder(mContext)
        .setContentTitle("New mail from " + sender.toString())
        .setContentText(subject)
        .setSmallIcon(R.drawable.new_mail)
        .extend(new NotificationCompat.WearableExtender()
                .setContentIcon(R.drawable.new_mail))
        .build();
NotificationManagerCompat.from(mContext).notify(0, notification);

Wearable extensions can be accessed on an existing notification by using the WearableExtender(Notification) constructor, and then using the get methods to access values.

NotificationCompat.WearableExtender wearableExtender =
        new NotificationCompat.WearableExtender(notification);
List<Notification> pages = wearableExtender.getPages();

Summary

Constants

const Int

This property is deprecated.

This feature is no longer supported.

const Int

This property is deprecated.

This feature is no longer supported.

const Int

This property is deprecated.

Display intents are no longer supported.

const Int

This property is deprecated.

Display intents are no longer supported.

const Int

This property is deprecated.

Display intents are no longer supported.

const Int

This property is deprecated.

Display intents are no longer supported.

const Int

This property is deprecated.

Display intents are no longer supported.

const Int

This property is deprecated.

Display intents are no longer supported.

const Int

Sentinel value for an action index that is unset.

Public constructors

Create a NotificationCompat.WearableExtender with default options.

Public functions

NotificationCompat.WearableExtender

Add a wearable action to this notification.

NotificationCompat.WearableExtender

Adds wearable actions to this notification.

NotificationCompat.WearableExtender

This function is deprecated.

Multiple content pages are no longer supported.

NotificationCompat.WearableExtender

This function is deprecated.

Multiple content pages are no longer supported.

NotificationCompat.WearableExtender

Clear all wearable actions present on this builder.

NotificationCompat.WearableExtender

This function is deprecated.

Multiple content pages are no longer supported.

NotificationCompat.WearableExtender
NotificationCompat.Builder

Apply wearable extensions to a notification that is being built.

(Mutable)List<NotificationCompat.Action!>

Get the wearable actions present on this notification.

Bitmap?

This function is deprecated.

Background images are no longer supported.

String?

Returns the bridge tag of the notification.

Int

Get the index of the notification action, if any, that was specified as the primary action.

Int

This function is deprecated.

This method has no effect starting with Wear 2.0.

Int

This function is deprecated.

This method has no effect starting with Wear 2.0.

Boolean

Get whether the content intent is available when the wearable device is not connected to a companion device.

Int

This function is deprecated.

This method has no effect starting with Wear 2.0.

Int

This function is deprecated.

This method has no effect starting with Wear 2.0.

String?

Returns the dismissal id of the notification.

PendingIntent?

This function is deprecated.

Display intents are no longer supported.

Int

This function is deprecated.

This method has no effect starting with Wear 2.0.

Boolean

This function is deprecated.

This feature is no longer supported.

Boolean

This function is deprecated.

This method has no effect starting with Wear 2.0.

Boolean

Get a hint that this notification's content intent will launch an Activity directly, telling the platform that it can generate the appropriate transitions

Boolean

This function is deprecated.

This method has no effect starting with Wear 2.0.

Int

This function is deprecated.

This method has no effect starting with Wear 2.0.

Boolean

This function is deprecated.

This method has no effect starting with Wear 2.0.

(Mutable)List<Notification!>

This function is deprecated.

Multiple content pages are no longer supported.

Boolean

Get whether the scrolling position for the contents of this notification should start at the bottom of the contents instead of the top when the contents are too long to display within the screen.

NotificationCompat.WearableExtender
setBackground(background: Bitmap?)

This function is deprecated.

Background images are no longer supported.

NotificationCompat.WearableExtender
setBridgeTag(bridgeTag: String?)

Sets a bridge tag for this notification.

NotificationCompat.WearableExtender
setContentAction(actionIndex: Int)

Set an action from this notification's actions as the primary action.

NotificationCompat.WearableExtender

This function is deprecated.

This method has no effect starting with Wear 2.0.

NotificationCompat.WearableExtender
setContentIconGravity(contentIconGravity: Int)

This function is deprecated.

This method has no effect starting with Wear 2.0.

NotificationCompat.WearableExtender
setContentIntentAvailableOffline(
    contentIntentAvailableOffline: Boolean
)

Set whether the content intent is available when the wearable device is not connected to a companion device.

NotificationCompat.WearableExtender

This function is deprecated.

This method has no effect starting with Wear 2.0.

NotificationCompat.WearableExtender
setCustomSizePreset(sizePreset: Int)

This function is deprecated.

This method has no effect starting with Wear 2.0.

NotificationCompat.WearableExtender
setDismissalId(dismissalId: String?)

Sets the dismissal id for this notification.

NotificationCompat.WearableExtender

This function is deprecated.

Display intents are no longer supported.

NotificationCompat.WearableExtender
setGravity(gravity: Int)

This function is deprecated.

This method has no effect starting with Wear 2.0.

NotificationCompat.WearableExtender
setHintAmbientBigPicture(hintAmbientBigPicture: Boolean)

This function is deprecated.

This feature is no longer supported.

NotificationCompat.WearableExtender
setHintAvoidBackgroundClipping(hintAvoidBackgroundClipping: Boolean)

This function is deprecated.

This method has no effect starting with Wear 2.0.

NotificationCompat.WearableExtender
setHintContentIntentLaunchesActivity(
    hintContentIntentLaunchesActivity: Boolean
)

Set a hint that this notification's content intent will launch an Activity directly, telling the platform that it can generate the appropriate transitions.

NotificationCompat.WearableExtender
setHintHideIcon(hintHideIcon: Boolean)

This function is deprecated.

This method has no effect starting with Wear 2.0.

NotificationCompat.WearableExtender

This function is deprecated.

This method has no effect.

NotificationCompat.WearableExtender
setHintShowBackgroundOnly(hintShowBackgroundOnly: Boolean)

This function is deprecated.

This method has no effect starting with Wear 2.0.

NotificationCompat.WearableExtender
setStartScrollBottom(startScrollBottom: Boolean)

Set whether the scrolling position for the contents of this notification should start at the bottom of the contents instead of the top when the contents are too long to display within the screen.

Constants

SCREEN_TIMEOUT_LONG

Added in 1.1.0
Deprecated in 1.1.0
const val SCREEN_TIMEOUT_LONG = -1: Int

Sentinel value for use with setHintScreenTimeout to keep the screen on for a longer amount of time when this notification is displayed on the screen.

SCREEN_TIMEOUT_SHORT

Added in 1.1.0
Deprecated in 1.1.0
const val SCREEN_TIMEOUT_SHORT = 0: Int

Sentinel value for use with setHintScreenTimeout to keep the screen on for a short amount of time when this notification is displayed on the screen. This is the default value.

SIZE_DEFAULT

Added in 1.1.0
Deprecated in 1.1.0
const val SIZE_DEFAULT = 0: Int

Size value for use with setCustomSizePreset to show this notification with default sizing.

For custom display notifications created using setDisplayIntent, the default is SIZE_MEDIUM. All other notifications size automatically based on their content.

SIZE_FULL_SCREEN

Added in 1.1.0
Deprecated in 1.1.0
const val SIZE_FULL_SCREEN = 5: Int

Size value for use with setCustomSizePreset to show this notification full screen.

This value is only applicable for custom display notifications created using setDisplayIntent.

SIZE_LARGE

Added in 1.1.0
Deprecated in 1.1.0
const val SIZE_LARGE = 4: Int

Size value for use with setCustomSizePreset to show this notification with a large size.

This value is only applicable for custom display notifications created using setDisplayIntent.

SIZE_MEDIUM

Added in 1.1.0
Deprecated in 1.1.0
const val SIZE_MEDIUM = 3: Int

Size value for use with setCustomSizePreset to show this notification with a medium size.

This value is only applicable for custom display notifications created using setDisplayIntent.

SIZE_SMALL

Added in 1.1.0
Deprecated in 1.1.0
const val SIZE_SMALL = 2: Int

Size value for use with setCustomSizePreset to show this notification with a small size.

This value is only applicable for custom display notifications created using setDisplayIntent.

SIZE_XSMALL

Added in 1.1.0
Deprecated in 1.1.0
const val SIZE_XSMALL = 1: Int

Size value for use with setCustomSizePreset to show this notification with an extra small size.

This value is only applicable for custom display notifications created using setDisplayIntent.

UNSET_ACTION_INDEX

Added in 1.1.0
const val UNSET_ACTION_INDEX = -1: Int

Sentinel value for an action index that is unset.

Public constructors

WearableExtender

Added in 1.1.0
WearableExtender()

Create a NotificationCompat.WearableExtender with default options.

WearableExtender

Added in 1.1.0
WearableExtender(notification: Notification)

Public functions

addAction

Added in 1.1.0
fun addAction(action: NotificationCompat.Action): NotificationCompat.WearableExtender

Add a wearable action to this notification.

When wearable actions are added using this method, the set of actions that show on a wearable device splits from devices that only show actions added using addAction. This allows for customization of which actions display on different devices.

Parameters
action: NotificationCompat.Action

the action to add to this notification

Returns
NotificationCompat.WearableExtender

this object for method chaining

addActions

Added in 1.1.0
fun addActions(actions: (Mutable)List<NotificationCompat.Action!>): NotificationCompat.WearableExtender

Adds wearable actions to this notification.

When wearable actions are added using this method, the set of actions that show on a wearable device splits from devices that only show actions added using addAction. This allows for customization of which actions display on different devices.

Parameters
actions: (Mutable)List<NotificationCompat.Action!>

the actions to add to this notification

Returns
NotificationCompat.WearableExtender

this object for method chaining

addPage

Added in 1.1.0
Deprecated in 1.1.0
fun addPage(page: Notification): NotificationCompat.WearableExtender

Add an additional page of content to display with this notification. The current notification forms the first page, and pages added using this function form subsequent pages. This field can be used to separate a notification into multiple sections.

Parameters
page: Notification

the notification to add as another page

Returns
NotificationCompat.WearableExtender

this object for method chaining

See also
getPages

addPages

Added in 1.1.0
Deprecated in 1.1.0
fun addPages(pages: (Mutable)List<Notification!>): NotificationCompat.WearableExtender

Add additional pages of content to display with this notification. The current notification forms the first page, and pages added using this function form subsequent pages. This field can be used to separate a notification into multiple sections.

Parameters
pages: (Mutable)List<Notification!>

a list of notifications

Returns
NotificationCompat.WearableExtender

this object for method chaining

See also
getPages

clearActions

Added in 1.1.0
fun clearActions(): NotificationCompat.WearableExtender

Clear all wearable actions present on this builder.

Returns
NotificationCompat.WearableExtender

this object for method chaining.

See also
addAction

clearPages

Added in 1.1.0
Deprecated in 1.1.0
fun clearPages(): NotificationCompat.WearableExtender

Clear all additional pages present on this builder.

Returns
NotificationCompat.WearableExtender

this object for method chaining.

See also
addPage

extend

fun extend(builder: NotificationCompat.Builder): NotificationCompat.Builder

Apply wearable extensions to a notification that is being built. This is typically called by the extend method of NotificationCompat.Builder.

getActions

Added in 1.1.0
fun getActions(): (Mutable)List<NotificationCompat.Action!>

Get the wearable actions present on this notification.

getBackground

Added in 1.1.0
Deprecated in 1.1.0
fun getBackground(): Bitmap?

Get a background image to be displayed behind the notification content. Contrary to the NotificationCompat.BigPictureStyle, this background will work with any notification style.

Returns
Bitmap?

the background image

See also
setBackground

getBridgeTag

Added in 1.1.0
fun getBridgeTag(): String?

Returns the bridge tag of the notification.

Returns
String?

the bridge tag or null if not present.

getContentAction

Added in 1.1.0
fun getContentAction(): Int

Get the index of the notification action, if any, that was specified as the primary action.

If wearable specific actions were added to the main notification, this index will apply to that list, otherwise it will apply to the regular actions list.

Returns
Int

the action index or UNSET_ACTION_INDEX if no action was selected.

getContentIcon

Added in 1.1.0
Deprecated in 1.1.0
fun getContentIcon(): Int

Get an icon that goes with the content of this notification.

getContentIconGravity

Added in 1.1.0
Deprecated in 1.1.0
fun getContentIconGravity(): Int

Get the gravity that the content icon should have within the notification display. Supported values include START and END. The default value is END.

See also
getContentIcon

getContentIntentAvailableOffline

Added in 1.1.0
fun getContentIntentAvailableOffline(): Boolean

Get 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.

getCustomContentHeight

Added in 1.1.0
Deprecated in 1.1.0
fun getCustomContentHeight(): Int

Get the custom height in pixels for the display of this notification's content.

This option is only available for custom display notifications created using setDisplayIntent. See also setCustomSizePreset and setCustomContentHeight.

getCustomSizePreset

Added in 1.1.0
Deprecated in 1.1.0
fun getCustomSizePreset(): Int

Get the custom size preset for the display of this notification out of the available presets found in NotificationCompat.WearableExtender, e.g. SIZE_LARGE.

Some custom size presets are only applicable for custom display notifications created using setDisplayIntent. Check the documentation for the preset in question. See also setCustomContentHeight and setCustomSizePreset.

getDismissalId

Added in 1.1.0
fun getDismissalId(): String?

Returns the dismissal id of the notification.

Returns
String?

the dismissal id of the notification or null if it has not been set.

getDisplayIntent

Added in 1.1.0
Deprecated in 1.1.0
fun getDisplayIntent(): PendingIntent?

Get the intent to launch inside of an activity view when displaying this notification. This PendingIntent should be for an activity.

getGravity

Added in 1.1.0
Deprecated in 1.1.0
fun getGravity(): Int

Get the gravity that this notification should have within the available viewport space. Supported values include TOP, CENTER_VERTICAL and BOTTOM. The default value is BOTTOM.

getHintAmbientBigPicture

Added in 1.1.0
Deprecated in 1.1.0
fun getHintAmbientBigPicture(): Boolean

Get a hint that this notification's BigPictureStyle (if present) should be converted to low-bit and displayed in ambient mode, especially useful for barcodes and qr codes, as well as other simple black-and-white tickets.

Returns
Boolean

true if it should be displayed in ambient, false otherwise otherwise. The default value is false if this was never set.

getHintAvoidBackgroundClipping

Added in 1.1.0
Deprecated in 1.1.0
fun getHintAvoidBackgroundClipping(): Boolean

Get a hint that this notification's background should not be clipped if possible, and should instead be resized to fully display on the screen, retaining the aspect ratio of the image. This can be useful for images like barcodes or qr codes.

Returns
Boolean

true if it's ok if the background is clipped on the screen, false otherwise. The default value is false if this was never set.

getHintContentIntentLaunchesActivity

Added in 1.1.0
fun getHintContentIntentLaunchesActivity(): Boolean

Get a hint that this notification's content intent will launch an Activity directly, telling the platform that it can generate the appropriate transitions

Returns
Boolean

true if the content intent will launch an activity and transitions should be generated, false otherwise. The default value is false if this was never set.

getHintHideIcon

Added in 1.1.0
Deprecated in 1.1.0
fun getHintHideIcon(): Boolean

Get a hint that this notification's icon should not be displayed.

Returns
Boolean

true if this icon should not be displayed, false otherwise. The default value is false if this was never set.

getHintScreenTimeout

Added in 1.1.0
Deprecated in 1.1.0
fun getHintScreenTimeout(): Int

Get the duration, in milliseconds, that the screen should remain on for when this notification is displayed.

Returns
Int

the duration in milliseconds if >0, or either one of the sentinel values SCREEN_TIMEOUT_SHORT or SCREEN_TIMEOUT_LONG.

getHintShowBackgroundOnly

Added in 1.1.0
Deprecated in 1.1.0
fun getHintShowBackgroundOnly(): Boolean

Get a visual hint that only the background image of this notification should be displayed, and other semantic content should be hidden. This hint is only applicable to sub-pages added using addPage.

getPages

Added in 1.1.0
Deprecated in 1.1.0
fun getPages(): (Mutable)List<Notification!>

Get the array of additional pages of content for displaying this notification. The current notification forms the first page, and elements within this array form subsequent pages. This field can be used to separate a notification into multiple sections.

Returns
(Mutable)List<Notification!>

the pages for this notification

getStartScrollBottom

Added in 1.1.0
fun getStartScrollBottom(): Boolean

Get whether the scrolling position for the contents of this notification should start at the bottom of the contents instead of the top when the contents are too long to display within the screen. Default is false (start scroll at the top).

setBackground

Added in 1.1.0
Deprecated in 1.1.0
fun setBackground(background: Bitmap?): NotificationCompat.WearableExtender

Set a background image to be displayed behind the notification content. Contrary to the NotificationCompat.BigPictureStyle, this background will work with any notification style.

Parameters
background: Bitmap?

the background bitmap

Returns
NotificationCompat.WearableExtender

this object for method chaining

See also
getBackground

setBridgeTag

Added in 1.1.0
fun setBridgeTag(bridgeTag: String?): NotificationCompat.WearableExtender

Sets a bridge tag for this notification. A bridge tag can be set for notifications posted from a phone to provide finer-grained control on what notifications are bridged to wearables. See Adding Wearable Features to Notifications for more information.

Parameters
bridgeTag: String?

the bridge tag of the notification.

Returns
NotificationCompat.WearableExtender

this object for method chaining

setContentAction

Added in 1.1.0
fun setContentAction(actionIndex: Int): NotificationCompat.WearableExtender

Set an action from this notification's actions as the primary action. If the action has a RemoteInput associated with it, shortcuts to the options for that input are shown directly on the notification.

Parameters
actionIndex: Int

The index of the primary action. If wearable actions were added to the main notification, this index will apply to that list, otherwise it will apply to the regular actions list.

setContentIcon

Added in 1.1.0
Deprecated in 1.1.0
fun setContentIcon(icon: Int): NotificationCompat.WearableExtender

Set an icon that goes with the content of this notification.

setContentIconGravity

Added in 1.1.0
Deprecated in 1.1.0
fun setContentIconGravity(contentIconGravity: Int): NotificationCompat.WearableExtender

Set the gravity that the content icon should have within the notification display. Supported values include START and END. The default value is END.

See also
setContentIcon

setContentIntentAvailableOffline

Added in 1.1.0
fun setContentIntentAvailableOffline(
    contentIntentAvailableOffline: Boolean
): NotificationCompat.WearableExtender

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.

setCustomContentHeight

Added in 1.1.0
Deprecated in 1.1.0
fun setCustomContentHeight(height: Int): NotificationCompat.WearableExtender

Set the custom height in pixels for the display of this notification's content.

This option is only available for custom display notifications created using setDisplayIntent. See also setCustomSizePreset and getCustomContentHeight.

setCustomSizePreset

Added in 1.1.0
Deprecated in 1.1.0
fun setCustomSizePreset(sizePreset: Int): NotificationCompat.WearableExtender

Set the custom size preset for the display of this notification out of the available presets found in NotificationCompat.WearableExtender, e.g. SIZE_LARGE.

Some custom size presets are only applicable for custom display notifications created using setDisplayIntent. Check the documentation for the preset in question. See also setCustomContentHeight and getCustomSizePreset.

setDismissalId

Added in 1.1.0
fun setDismissalId(dismissalId: String?): NotificationCompat.WearableExtender

Sets the dismissal id for this notification. If a notification is posted with a dismissal id, then when that notification is canceled, notifications on other wearables and the paired Android phone having that same dismissal id will also be canceled. See Adding Wearable Features to Notifications for more information.

Parameters
dismissalId: String?

the dismissal id of the notification.

Returns
NotificationCompat.WearableExtender

this object for method chaining

setDisplayIntent

Added in 1.1.0
Deprecated in 1.1.0
fun setDisplayIntent(intent: PendingIntent?): NotificationCompat.WearableExtender

Set an intent to launch inside of an activity view when displaying this notification. The PendingIntent provided should be for an activity.

Intent displayIntent = new Intent(context, MyDisplayActivity.class);
PendingIntent displayPendingIntent = PendingIntent.getActivity(context,
        0, displayIntent, PendingIntent.FLAG_UPDATE_CURRENT);
Notification notification = new NotificationCompat.Builder(context)
        .extend(new NotificationCompat.WearableExtender()
                .setDisplayIntent(displayPendingIntent)
                .setCustomSizePreset(NotificationCompat.WearableExtender.SIZE_MEDIUM))
.build();

The activity to launch needs to allow embedding, must be exported, and should have an empty task affinity. It is also recommended to use the device default light theme.

Example AndroidManifest.xml entry:

<activity android:name="com.example.MyDisplayActivity"
    android:exported="true"
    android:allowEmbedded="true"
    android:taskAffinity=""
android:theme="@android:style/Theme.DeviceDefault.Light" />
Parameters
intent: PendingIntent?

the PendingIntent for an activity

Returns
NotificationCompat.WearableExtender

this object for method chaining

See also
getDisplayIntent

setGravity

Added in 1.1.0
Deprecated in 1.1.0
fun setGravity(gravity: Int): NotificationCompat.WearableExtender

Set the gravity that this notification should have within the available viewport space. Supported values include TOP, CENTER_VERTICAL and BOTTOM. The default value is BOTTOM.

setHintAmbientBigPicture

Added in 1.1.0
Deprecated in 1.1.0
fun setHintAmbientBigPicture(hintAmbientBigPicture: Boolean): NotificationCompat.WearableExtender

Set a hint that this notification's BigPictureStyle (if present) should be converted to low-bit and displayed in ambient mode, especially useful for barcodes and qr codes, as well as other simple black-and-white tickets.

Parameters
hintAmbientBigPicture: Boolean

true to enable converstion and ambient.

Returns
NotificationCompat.WearableExtender

this object for method chaining

setHintAvoidBackgroundClipping

Added in 1.1.0
Deprecated in 1.1.0
fun setHintAvoidBackgroundClipping(hintAvoidBackgroundClipping: Boolean): NotificationCompat.WearableExtender

Set a hint that this notification's background should not be clipped if possible, and should instead be resized to fully display on the screen, retaining the aspect ratio of the image. This can be useful for images like barcodes or qr codes.

Parameters
hintAvoidBackgroundClipping: Boolean

true to avoid clipping if possible.

Returns
NotificationCompat.WearableExtender

this object for method chaining

setHintContentIntentLaunchesActivity

Added in 1.1.0
fun setHintContentIntentLaunchesActivity(
    hintContentIntentLaunchesActivity: Boolean
): NotificationCompat.WearableExtender

Set a hint that this notification's content intent will launch an Activity directly, telling the platform that it can generate the appropriate transitions.

Parameters
hintContentIntentLaunchesActivity: Boolean

true if the content intent will launch an activity and transitions should be generated, false otherwise.

Returns
NotificationCompat.WearableExtender

this object for method chaining

setHintHideIcon

Added in 1.1.0
Deprecated in 1.1.0
fun setHintHideIcon(hintHideIcon: Boolean): NotificationCompat.WearableExtender

Set a hint that this notification's icon should not be displayed.

Parameters
hintHideIcon: Boolean

true to hide the icon, false otherwise.

Returns
NotificationCompat.WearableExtender

this object for method chaining

setHintScreenTimeout

Added in 1.1.0
Deprecated in 1.1.0
fun setHintScreenTimeout(timeout: Int): NotificationCompat.WearableExtender

Set a hint that the screen should remain on for at least this duration when this notification is displayed on the screen.

Parameters
timeout: Int

The requested screen timeout in milliseconds. Can also be either SCREEN_TIMEOUT_SHORT or SCREEN_TIMEOUT_LONG.

Returns
NotificationCompat.WearableExtender

this object for method chaining

setHintShowBackgroundOnly

Added in 1.1.0
Deprecated in 1.1.0
fun setHintShowBackgroundOnly(hintShowBackgroundOnly: Boolean): NotificationCompat.WearableExtender

Set a visual hint that only the background image of this notification should be displayed, and other semantic content should be hidden. This hint is only applicable to sub-pages added using addPage.

setStartScrollBottom

Added in 1.1.0
fun setStartScrollBottom(startScrollBottom: Boolean): NotificationCompat.WearableExtender

Set whether the scrolling position for the contents of this notification should start at the bottom of the contents instead of the top when the contents are too long to display within the screen. Default is false (start scroll at the top).