Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

UNTextInputNotificationActionMBS class

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
Function: An action that can accept user-typed text.
Notes:
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.

Feedback, Comments & Corrections

  • 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

Options

Constant Value Description
OptionAuthenticationRequired 1 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.
OptionDestructive 2 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.
OptionForeground 4 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.
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




Links
MBS FileMaker tutorial videos