MobileApplication.HandleShortcut

From Xojo Documentation

Event


MobileApplication.HandleShortcut(identifier as String, userInfo as Dictionary) As Boolean

New in 2020r2

Supported for all project types and targets.

Called when the user has chosen an item from the app's shortcut menu.

Parameters

Name Description
identifier The (usually unique) identifier that describes the function of the shortcut and was provided when the shortcut was created either in the IDE via the Shortcut Options Editor or via code when calling the AddShortcut method.
userInfo A Dictionary of information that was provided when the shortcut was created via the AddShortcut method.
Return Value If your code was able to perform the shortcut's function, return True. If it was not, return False.

Notes

The shortcut menu is displayed when the user performs a long-press on the application's icon.

See Also

AddShortcut and RemoveAllShortcuts methods.