GCKUIImageHints Class

  • GCKUIImageHints is an object that provides hints to a GCKUIImagePicker about the type and size of an image to be selected for display in the UI.

  • It has two initializers: one convenience initializer and one designated initializer that includes optional custom data.

  • The class has properties for image type, image size, and optional custom data.

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) 
Convenience initializer. More...
Designated initializer. More...

Property Summary

The image type. More...
CGSize 
The size at which the image will be displayed. More...
NSObject< NSSecureCoding > * 
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: (nullable NSObject< NSSecureCoding > *)  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

read nonatomic assign

The image type.

- (CGSize) imageSize
read nonatomic assign

The size at which the image will be displayed.

- (NSObject<NSSecureCoding>*) customData
read nonatomic copy

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

It must be key-value coding compliant.

Create a Mobile Website
View Site in Mobile | Classic
Share by: