已新增:7
專家
供應商
定義於 fuchsia.castsysteminfo/cast_system_info.fidl
公開 Cast 系統資訊,如 SystemInfo 資料表中的模型資訊所示。
取得系統資訊
擷取初次啟動時產生的 SystemInfo 欄位,這些欄位可在啟動時使用。
要求
<空白>
回應
| 名稱 | 類型 | 
|---|---|
| payload | Provider_GetSystemInfo_Result | 
結構
Provider_GetSystemInfo_Response
定義於 fuchsia.castsysteminfo/cast_system_info.fidl
| 欄位 | 類型 | 說明 | 預設 | 
|---|---|---|---|
| systemInfo | SystemInfo | 無預設 | 
表情符號
ErrorCode strict
類型:uint32
定義於 fuchsia.castsysteminfo/cast_system_info.fidl
GetSystemInfo 作業的錯誤代碼。
| 名稱 | 值 | 說明 | 
|---|---|---|
| 錯誤資訊 | 1 | 沒有可用的系統資訊時發生錯誤。 | 
| 錯誤 (內部) | 2 | 一般錯誤。 | 
資料表
SystemInfo
定義於 fuchsia.castsysteminfo/cast_system_info.fidl
與投放相關的裝置設定
而且可以擴充此表格以納入其他投放專屬資訊。 這裡要求的值會在裝置首次啟動時產生,除非恢復原廠設定,否則不會改變。
| 序數 | 欄位 | 類型 | 說明 | 
|---|---|---|---|
| 1 | local_device_id | string | 本機 (CastV2) 裝置 ID。在區域網路上識別裝置。Google Home 應用程式會使用這個值做為裝置 ID,以及進行 MDNS 記錄比對。 | 
| 2 | cloud_device_id | string | 裝置會使用這個 ID 傳送/接收 CloudCast 指令。 使用這個 ID 將 CloudCast 指令傳送至接收器,可確保裝置能夠接受及使用這個指令。 | 
聯合國
Provider_GetSystemInfo_Result 嚴格
定義於 fuchsia.castsysteminfo/cast_system_info.fidl
| 序數 | Variant | 類型 | 說明 | 
|---|---|---|---|
| 1 | response | Provider_GetSystemInfo_Response | |
| 2 | err | ErrorCode |