设置通知中心

功能表:reminderAncs

注意:该接口Android仅用到callSwitch - 来电提醒开关

示例

Swift

let param = IDOSetNoticeStatusModel(...)

Cmds.setNoticeStatus(param).send { rs in
    if case .success(let obj) = rs {
        // 成功
        // obj is IDONotificationCenterModel
    }else {
        // 失败
    }
}

Kotlin

val param = IDOSetNoticeStatusModel(...)

Cmds.setNoticeStatus(param).send {
    if (it.error.code == 0) {
        // 成功
        // it.res is IDONotificationCenterModel
    }else {
        // 失败
    }
}

ArkTs

let param = new IDOSetNoticeStatusModel(...)
Cmds.setNoticeStatus(param,(res)=>{
    if(res.success){
        //成功
        //it.value is IDONotificationCenterModel
    } else {
        //失败
    }
})
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2026-03-13 12:04:56

results matching ""

    No results matching ""