GCKUIImageHints Class

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

  • The class has initializers to set the image type, size, and optional custom data.

  • Key properties include imageType , imageSize , and customData .

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

Property Summary

The image type. More...
CGSize 
The size at which the image will be displayed. More...
NSObject< NSCoding > * 
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

read nonatomic assign

The image type.

- (CGSize) imageSize
read nonatomic assign

The size at which the image will be displayed.

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

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

It must be key-value coding compliant.

Design a Mobile Site
View Site in Mobile | Classic
Share by: