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, valueForUndefinedKey
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportsSecureCoding
public void setTitle(String title)
public String title()
title
in class UNNotificationContent
public void setSubtitle(String subtitle)
public String subtitle()
subtitle
in class UNNotificationContent
public void setBody(String body)
public String body()
body
in class UNNotificationContent
public void setBadge(Number badge)
public Number badge()
badge
in class UNNotificationContent
public void setSound(UNNotificationSound sound)
public UNNotificationSound sound()
sound
in class UNNotificationContent
public void setLaunchImageName(String launchImageName)
public String launchImageName()
launchImageName
in class UNNotificationContent
public Map<String,Object> userInfo()
userInfo
in class UNNotificationContent
public void setAttachments(List<UNNotificationAttachment> attachments)
public List<UNNotificationAttachment> attachments()
attachments
in class UNNotificationContent
public void setCategoryIdentifier(String categoryIdentifier)
public String categoryIdentifier()
categoryIdentifier
in class UNNotificationContent
public void setThreadIdentifier(String threadIdentifier)
public String threadIdentifier()
threadIdentifier
in class UNNotificationContent
Copyright © 2020. All rights reserved.