Platforms to show: All Mac Windows Linux Cross-Platform

Back to UNTextInputNotificationActionMBS class.

UNTextInputNotificationActionMBS.action(identifier as string, title as string, options as integer, textInputButtonTitle as string, textInputPlaceholder as string) as UNTextInputNotificationActionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method User Notifications MBS MacFrameworks Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an action object that accepts text input from the user.

identifier: The string that you use internally to identify the action. This string must be unique among all of your app's supported actions. When the user selects the action, the system passes this string to your app and asks you to perform the related task. This parameter must not be nil or an empty string.
title: The localized string to display to the user. This string is used as the title of a button, which is added to the notification interface. This parameter must not be nil.
options: Additional options describing how the action behaves. Include options when you need the related behavior. For a list of possible values, see options.
textInputButtonTitle: The localized title of the text input button that is displayed to the user.
textInputPlaceholder: The localized placeholder text to display in the text input field.

Returns a new text input action object.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...