GCKUIImageHints Class Reference
Overview
An object that provides hints to a GCKUIImagePicker about the type and size of an image to be selected for display in the UI.
- Since
- 3.0
Inherits NSObject, <NSCopying>, and <NSCoding>.
Instance Method Summary | |
(instancetype) | - initWithImageType:imageSize: |
Convenience initializer. More... | |
(instancetype) | - initWithImageType:imageSize:customData: |
Designated initializer. More... | |
Property Summary | |
GCKMediaMetadataImageType | imageType |
The image type. More... | |
CGSize | imageSize |
The size at which the image will be displayed. More... | |
NSObject< NSCoding > * | customData |
Optional custom data that can be used to identify the image. More... | |
Method Detail
- (instancetype) initWithImageType: | (GCKMediaMetadataImageType) | imageType | |
imageSize: | (CGSize) | imageSize | |
Convenience initializer.
Sets the custom data to nil
.
- Parameters
-
imageType The image type. imageSize The image size.
- (instancetype) initWithImageType: | (GCKMediaMetadataImageType) | imageType | |
imageSize: | (CGSize) | imageSize | |
customData: | (NSObject< NSCoding > *__nullable) | customData | |
Designated initializer.
- Parameters
-
imageType The image type. imageSize The image size. customData The arbitrary custom data that can be used by a custom GCKUIImagePicker to select an image.
Property Detail
|
readnonatomicassign |
The image type.
|
readnonatomicassign |
The size at which the image will be displayed.
|
readnonatomiccopy |
Optional custom data that can be used to identify the image.
It must be key-value coding compliant.