跳至主要內容

NotificationResponse 物件

  • actionIdentifier 字串 - 使用者選擇的動作的識別字串。
  • date 數字 - 通知的傳遞日期。
  • identifier 字串 - 此通知請求的唯一識別碼。
  • userInfo Record<string, any> - 與通知相關聯的自訂資訊字典。
  • userText 字串 (選用) - 使用者輸入或選擇的文字。