W3Cschool
恭喜您成為首批注冊(cè)用戶
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
描述通知中顯示的操作按鈕。
本模塊首批接口從API version 7開(kāi)始支持。后續(xù)版本的新增接口,采用上角標(biāo)單獨(dú)標(biāo)記接口的起始版本。
系統(tǒng)能力:以下各項(xiàng)對(duì)應(yīng)的系統(tǒng)能力均為SystemCapability.Notification.Notification
名稱 | 類型 | 可讀 | 可寫(xiě) | 說(shuō)明 |
---|---|---|---|---|
title | string | 是 | 是 | 按鈕標(biāo)題。 |
wantAgent | WantAgent | 是 | 是 | 點(diǎn)擊按鈕時(shí)觸發(fā)的WantAgent。 |
extras | { [key: string]: any } | 是 | 是 | 按鈕擴(kuò)展信息。 |
userInput8+ | NotificationUserInput | 是 | 是 | 用戶輸入對(duì)象實(shí)例。 |
Copyright©2021 w3cschool編程獅|閩ICP備15016281號(hào)-3|閩公網(wǎng)安備35020302033924號(hào)
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號(hào)
聯(lián)系方式:
更多建議: