Super class: UNNotificationActionMBS
|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||User Notifications||MBS MacFrameworks Plugin||19.1||Yes||No||No||Yes, macOS only||No|
Use UNTextInputNotificationActionMBS objects to define an action that allows the user to provide a custom text-based response. When the user selects an action of this type, the system displays controls for the user to enter or dictate the text content. That text is then included in the response object that is delivered to your app.
Subclass of the UNNotificationActionMBS class.
- 2 properties
- method Constructor(identifier as string, title as string, options as integer, textInputButtonTitle as string, textInputPlaceholder as string)
- shared method action(identifier as string, title as string, options as integer, textInputButtonTitle as string, textInputPlaceholder as string) as UNTextInputNotificationActionMBS
Super class UNNotificationActionMBS
- 4 properties
- 2 methods
- 2 shared methods
- 4 constants
The action can be performed only on an unlocked device.
When the user selects an action with this option, the system prompts the user to unlock the device. After unlocking, the system notifies your app of the selected action. You might use option to perform actions that require accessing data that is encrypted while the device is locked.
The action performs a destructive task.
Use this option for actions that delete user data or change the app irrevocably. The action button is displayed with special highlighting to indicate that it performs a destructive task.
The action causes the app to launch in the foreground.
When the user selects an action containing this option, the system brings the app to the foreground, asking the user to unlock the device as needed. Use this option for actions that require the user to interact further with your app. Do not use this option simply to bring your app to the foreground.
The action has the default behavior.
This class has no sub classes.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MBS FileMaker blog