public class UNMutableNotificationContent extends UNNotificationContent
| Constructor and Description |
|---|
UNMutableNotificationContent() |
| Modifier and Type | Method and Description |
|---|---|
List<UNNotificationAttachment> |
attachments() |
Number |
badge() |
String |
body() |
String |
categoryIdentifier() |
String |
launchImageName() |
void |
setAttachments(List<UNNotificationAttachment> attachments) |
void |
setBadge(Number badge) |
void |
setBody(String body) |
void |
setCategoryIdentifier(String categoryIdentifier) |
void |
setLaunchImageName(String launchImageName) |
void |
setSound(UNNotificationSound sound) |
void |
setSubtitle(String subtitle) |
void |
setThreadIdentifier(String threadIdentifier) |
void |
setTitle(String title) |
void |
setUserInfo(Map<String,Object> userInfo) |
UNNotificationSound |
sound() |
String |
subtitle() |
String |
threadIdentifier() |
String |
title() |
Map<String,Object> |
userInfo() |
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKeyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsSecureCodingpublic void setTitle(String title)
public String title()
title in class UNNotificationContentpublic void setSubtitle(String subtitle)
public String subtitle()
subtitle in class UNNotificationContentpublic void setBody(String body)
public String body()
body in class UNNotificationContentpublic void setBadge(Number badge)
public Number badge()
badge in class UNNotificationContentpublic void setSound(UNNotificationSound sound)
public UNNotificationSound sound()
sound in class UNNotificationContentpublic void setLaunchImageName(String launchImageName)
public String launchImageName()
launchImageName in class UNNotificationContentpublic Map<String,Object> userInfo()
userInfo in class UNNotificationContentpublic void setAttachments(List<UNNotificationAttachment> attachments)
public List<UNNotificationAttachment> attachments()
attachments in class UNNotificationContentpublic void setCategoryIdentifier(String categoryIdentifier)
public String categoryIdentifier()
categoryIdentifier in class UNNotificationContentpublic void setThreadIdentifier(String threadIdentifier)
public String threadIdentifier()
threadIdentifier in class UNNotificationContentCopyright © 2020. All rights reserved.