|
|
|
|
QuickActionAdd (Function) In french: ActionRapideAjoute Adds a new quick action to the application. This quick action will appear in the context menu of the application icon.
action is QuickAction
action.Identifier = "ACTION_ID__SEND_MESSAGE"
action.Caption = "Send a message"
action.Procedure = ProcSendMessage
IF QuickActionAdd(action) THEN
ToastDisplay("Action added.")
END
Syntax
<Result> = QuickActionAdd(<Action>)
<Result>: Boolean - True if the quick action was added,
- False otherwise. ErrorInfo returns the details of the error.
<Action>: QuickAction variable QuickAction variable describing the action to be added. Remarks - If a quick action with the same identifier has already been added to the application, it will be updated with the data contained in the QuickAction variable passed as parameter.
- To list quick actions already added to the application, use QuickActionList.
- To remove a quick action defined for the application, use QuickActionRemove.
Business / UI classification: UI Code Component: wd290android.aar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|