Platforms to show: All Mac Windows Linux Cross-Platform
UNTextInputNotificationActionMBS class
Super class: UNNotificationActionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | User Notifications | MBS MacFrameworks Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
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
- property textInputButtonTitle as String
- property textInputPlaceholder as String
- 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
- property Handle as Integer
- property identifier as String
- property options as Integer
- property title as String
- 2 methods
- method Constructor(identifier as string, title as string, options as integer)
- method copy as UNNotificationActionMBS
- 2 shared methods
- shared method action(identifier as string, title as string, options as integer) as UNNotificationActionMBS
- shared method Available as boolean
- 4 constants
Options
Constant | Value | Description |
---|---|---|
OptionAuthenticationRequired | 1 | The action can be performed only on an unlocked device. more |
OptionDestructive | 2 | The action performs a destructive task. more |
OptionForeground | 4 | The action causes the app to launch in the foreground. more |
OptionNone | 0 |
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.
UNPushNotificationTriggerMBS - UNTextInputNotificationResponseMBS