event name
event parameters
AAID
Indicates whether to allow the App Messaging SDK to display in-app messages.
Indicates whether to allow the App Messaging SDK to synchronize in-app message data from the AppGallery Connect server.
event name
callback function
node
event name
event callback
target node
event name
event callback
target node
huawei.agc.appmessaging.appMessagingService.once(huawei.agc.appmessaging.AGC_APP_MESSAGING_LISTENER_NAME.ON_MESSAGE_DISMISS, (result) => {
this.console.log('receive ON_MESSAGE_DISMISS', JSON.stringify(result));
}, this);
Indicates whether to allow the App Messaging SDK to display in-app messages. The default value is true.
Location
instance. Currently, a pop-up or image message can be displayed in the center or at the bottom.
Indicates whether to allow the App Messaging SDK to synchronize in-app message data from the AppGallery Connect server. The options are as follows:
ID of a custom event.
Generated using TypeDoc
Represents the message processing class
消息处理类