SBDThumbnailSize Class Reference

Inherits from NSObject
Conforms to NSCopying
SBDMappable
Declared in SBDFileMessage.h

Overview

The SBDThumbnailSize class represents the thumbnail size of thumbnail.

  maxSize

The max size of the thumbnail.

@property (nonatomic, readonly) CGSize maxSize

Declared In

SBDFileMessage.h

+ makeWithMaxCGSize:

Makes SBDThumbnailSize object with CGSize.

+ (instancetype)makeWithMaxCGSize:(CGSize)size

Parameters

size

The max size of the thumbnail.

Return Value

SBDThumbnailSize object.

Declared In

SBDFileMessage.h

+ makeWithMaxWidth:maxHeight:

Makes SBDThumbnailSize object with width and height.

+ (instancetype)makeWithMaxWidth:(CGFloat)width maxHeight:(CGFloat)height

Parameters

width

The max width of the thumbnail.

height

The max height of the thumbnail.

Return Value

SBDThumbnailSize object.

Declared In

SBDFileMessage.h