Google 会使用 AI 技术将内容翻译成您偏好的语言。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,["最后更新时间 (UTC):2025-07-26。"],[],[]]