V3 Dynamic Notification Message Reminder

Flutter Example:

/// V3 dynamic notification message event number
setNoticeAppName(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.func_v3_notice_message_add_app_name
)

/// V3 dynamic notification message
libManager.send(evt: CmdEvtType.setNoticeAppName, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Field Type Field Description
verison int Protocol library version number
os_platform int System
0: Invalid, 1: Android, 2: iOS
evt_type int Current mode
0: Invalid, 1: Message reminder
notify_type int Enumeration type of message
Max value: 20000
msg_ID int Message ID
Valid only if evt_type is message reminder and msg_ID is not 0
app_items_len int Number of country and language details
contact char [] Contact name (maximum 63 bytes)
phone_number char [] Phone number (maximum 31 bytes)
msg_data char [] Message content (maximum 249 bytes)
items Array Country and language details
Collection of language and name
Field Name Field Type Field Description
language int Language type
name char [] App name corresponding to the country (maximum 49 bytes)

Example:

{
  "verison": 0,
  "os_platform": 1,
  "evt_type": 1,
  "notify_type": 3,
  "msg_ID": 1,
  "app_items_len": 1,
  "contact": "John Doe",
  "phone_number": "1234567890",
  "msg_data": "Hello",
  "items": [
    {
      "language": 2,
      "name": "wechat"
    }
  ]
}

JSON Fields Received by the App:

Field Name Field Type Field Description
is_success int 1: Success, 0: Failure

Example:

{
  "is_success": 1
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-04-30 09:32:44

results matching ""

    No results matching ""