public class UIMutableUserNotificationAction extends UIUserNotificationAction
ResponseTypedTextKey
Constructor and Description |
---|
UIMutableUserNotificationAction() |
Modifier and Type | Method and Description |
---|---|
void |
setActivationMode(int activationMode)
Sets the mode of the application before action is performed.
|
void |
setAuthenticationRequired(boolean authenticationRequired)
Sets a Boolean value that defines whether the device must unlocked by the
user before the action.
|
void |
setBehavior(int behavior)
Sets the behavior that the action supports.
|
void |
setDestructive(boolean destructive)
Sets a Boolean value that defines whether the action is destructive or
not.
|
void |
setIdentifier(String identifier)
Sets the name of the action.
|
void |
setParameters(Map parameters)
A dictionary with additional parameters related to the action.
|
void |
setTitle(String title)
Sets the text displayed on the button of the action.
|
activationMode, behavior, identifier, isAuthenticationRequired, isDestructive, parameters, title
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportsSecureCoding
public void setIdentifier(String identifier)
identifier
- The name of the action.public void setTitle(String title)
title
- The text of the button of the action.public void setActivationMode(int activationMode)
activationMode
- The mode of the application before action is
performed.public void setAuthenticationRequired(boolean authenticationRequired)
authenticationRequired
- TRUE, the user must unlock the device
before the action.public void setDestructive(boolean destructive)
destructive
- TRUE,then the specified action is destructive.public void setBehavior(int behavior)
behavior
- The behavior that the action supports.UIUserNotificationActionBehavior
public void setParameters(Map parameters)
parameters
- Dictionary with additional parameters related to the
action.Copyright © 2020. All rights reserved.