Google 會運用 AI 技術將內容翻譯成您偏好的語言,但可能會出錯。
GCKImage 類別
透過集合功能整理內容
您可以依據偏好儲存及分類內容。
這個類別代表位於網路伺服器上的圖片。
用於 GCKDevice 圖示和 GCKMediaMetadata 圖片等項目。
繼承 NSObject、<NSCopying> 和 <NSCoding>。
| - (instancetype) initWithURL: |
|
(NSURL *) |
URL |
| width: |
|
(NSInteger) |
width |
| height: |
|
(NSInteger) |
height |
|
|
| |
使用指定網址和尺寸建構新的 GCKImage。
指定初始化器。
- Parameters
-
| URL | The URL of the image. |
| width | The width of the image, in pixels. |
| height | The height of the image, in pixels. |
- 例外狀況
-
| NSInvalidArgumentException | 如果網址為 nil 或空白,或是維度無效。 |
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],[]]