Set up the notification center

Function table: reminderAncs

Example

Swift

let param = IDOSetNoticeStatusModel(...)

Cmds.setNoticeStatus(param).send { rs in
 if case .success(let obj) = rs {
 // Success
 // obj is IDONotificationCenterModel
 }else {
 // failed
 }
}

Kotlin

val param = IDOSetNoticeStatusModel(...)

Cmds.setNoticeStatus(param).send {
 if (it.error.code == 0) {
 // Success
 // it.res is IDONotificationCenterModel
 }else {
 // Failure
 }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2024-07-31 09:41:43

results matching ""

    No results matching ""