GCKUIImageHints Class

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 <NSSecureCoding>.

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< NSSecureCoding > * 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
imageTypeThe image type.
imageSizeThe image size.
- (instancetype) initWithImageType: (GCKMediaMetadataImageType imageType
imageSize: (CGSize)  imageSize
customData: (nullable NSObject< NSSecureCoding > *)  customData 

Designated initializer.

Parameters
imageTypeThe image type.
imageSizeThe image size.
customDataThe arbitrary custom data that can be used by a custom GCKUIImagePicker to select an image.

Property Detail

- (GCKMediaMetadataImageType) imageType
readnonatomicassign

The image type.

- (CGSize) imageSize
readnonatomicassign

The size at which the image will be displayed.

- (NSObject<NSSecureCoding>*) customData
readnonatomiccopy

Optional custom data that can be used to identify the image.

It must be key-value coding compliant.