CastRemoteDisplayLocalService.NotificationSettings.Builder

public static final classCastRemoteDisplayLocalService.NotificationSettings.Builder extendsObject

Public Constructor Summary

Public Method Summary

CastRemoteDisplayLocalService.NotificationSettings
CastRemoteDisplayLocalService.NotificationSettings.Builder
setNotification(Notification notification)
Sets a customNotification.
CastRemoteDisplayLocalService.NotificationSettings.Builder
setNotificationPendingIntent(PendingIntent notificationPendingIntent)
Sets aPendingIntent that will be executed when the default notification is clicked.
CastRemoteDisplayLocalService.NotificationSettings.Builder
setNotificationText(String notificationText)
The defaultNotification text.
CastRemoteDisplayLocalService.NotificationSettings.Builder
setNotificationTitle(String notificationTitle)
The defaultNotification title.

Inherited Method Summary

Public Constructors

publicBuilder()

Public Methods

public CastRemoteDisplayLocalService.NotificationSettingsbuild()

Builds and returns the CastRemoteDisplayLocalService.NotificationSettingsobject. It verifies that if the notification is provided the other arguments are not provided.

public CastRemoteDisplayLocalService.NotificationSettings.BuildersetNotification(Notification notification)

Sets a customNotification. If a custom notification is used, the rest of the settings should not be provided.

Parameters
notification The custom notification.

public CastRemoteDisplayLocalService.NotificationSettings.BuildersetNotificationPendingIntent(PendingIntent notificationPendingIntent)

Sets aPendingIntent that will be executed when the default notification is clicked. If a custom notification is used, this value should not be provided.

Parameters
notificationPendingIntent ThePendingIntent that will be executed when the default notification is clicked.