Set Notification App Status

Menu: setSetNotificationStatus

Flutter Example:

/// Currently, only event reminders are applicable. Therefore, the default notification type of event reminders is set on this interface
/// Notification app status setting event
setNotificationStatus(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_set_notification_status),

/// Use this command to set the type of notification for event reminder
libManager.send(evt: CmdEvtType.setNotificationStatus, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Field Type Field Description
notify_flag int Notification type:
1: Allow notification
2: Silent notification
3: Disable notification

Example:

{
  "notify_flag": 1
}

JSON Fields Received by the App:

Field Name Field Type Field Description
is_success int 0 for failure
1 for success

Example:

{
  "is_success": 0
}
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 ""