PublisherEvent interface
即將發行之事件的包裝函式
屬性
| diagnostics | 新增索引鍵/值組,這些索引鍵/值組將與已發佈的通知一起儲存在 SH 服務資料庫中。 此索引鍵/值組僅用於診斷目的,不會影響通知的傳遞。 |
| event | 正在發布的事件 |
| is |
取得或設定已篩選事件的旗標 |
| notification |
需要作為通知的一部分傳送的其他資料,以補充事件中的資源資料 |
| other |
取得或設定較舊支援資源版本的陣列。 |
| publisher |
選擇性的發行者輸入篩選器,可限制事件所觸發的訂閱集 |
| subscription | 取得或設定導致此事件的相符勾點訂用帳戶。 |
屬性詳細資料
diagnostics
新增索引鍵/值組,這些索引鍵/值組將與已發佈的通知一起儲存在 SH 服務資料庫中。 此索引鍵/值組僅用於診斷目的,不會影響通知的傳遞。
diagnostics: {[key: string]: string}
屬性值
{[key: string]: string}
event
isFilteredEvent
取得或設定已篩選事件的旗標
isFilteredEvent: boolean
屬性值
boolean
notificationData
需要作為通知的一部分傳送的其他資料,以補充事件中的資源資料
notificationData: {[key: string]: string}
屬性值
{[key: string]: string}