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
}
}