DBFILESThumbnailSize

Objective-C

@interface DBFILESThumbnailSize : NSObject <DBSerializable, NSCopying>

Swift

class DBFILESThumbnailSize : NSObject, DBSerializable, NSCopying

The ThumbnailSize union.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

Constructors

  • Initializes union class with tag state of “w32h32”.

    Description of the “w32h32” tag state: 32 by 32 px.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithW32h32;

    Swift

    init(w32h32: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “w64h64”.

    Description of the “w64h64” tag state: 64 by 64 px.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithW64h64;

    Swift

    init(w64h64: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “w128h128”.

    Description of the “w128h128” tag state: 128 by 128 px.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithW128h128;

    Swift

    init(w128h128: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “w256h256”.

    Description of the “w256h256” tag state: 256 by 256 px.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithW256h256;

    Swift

    init(w256h256: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “w480h320”.

    Description of the “w480h320” tag state: 480 by 320 px.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithW480h320;

    Swift

    init(w480h320: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “w640h480”.

    Description of the “w640h480” tag state: 640 by 480 px.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithW640h480;

    Swift

    init(w640h480: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “w960h640”.

    Description of the “w960h640” tag state: 960 by 640 px.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithW960h640;

    Swift

    init(w960h640: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “w1024h768”.

    Description of the “w1024h768” tag state: 1024 by 768 px.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithW1024h768;

    Swift

    init(w1024h768: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “w2048h1536”.

    Description of the “w2048h1536” tag state: 2048 by 1536 px.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithW2048h1536;

    Swift

    init(w2048h1536: ())

    Return Value

    An initialized instance.

Tag state methods

  • Retrieves whether the union’s current tag state has value “w32h32”.

    Declaration

    Objective-C

    - (BOOL)isW32h32;

    Swift

    func isW32h32() -> Bool

    Return Value

    Whether the union’s current tag state has value “w32h32”.

  • Retrieves whether the union’s current tag state has value “w64h64”.

    Declaration

    Objective-C

    - (BOOL)isW64h64;

    Swift

    func isW64h64() -> Bool

    Return Value

    Whether the union’s current tag state has value “w64h64”.

  • Retrieves whether the union’s current tag state has value “w128h128”.

    Declaration

    Objective-C

    - (BOOL)isW128h128;

    Swift

    func isW128h128() -> Bool

    Return Value

    Whether the union’s current tag state has value “w128h128”.

  • Retrieves whether the union’s current tag state has value “w256h256”.

    Declaration

    Objective-C

    - (BOOL)isW256h256;

    Swift

    func isW256h256() -> Bool

    Return Value

    Whether the union’s current tag state has value “w256h256”.

  • Retrieves whether the union’s current tag state has value “w480h320”.

    Declaration

    Objective-C

    - (BOOL)isW480h320;

    Swift

    func isW480h320() -> Bool

    Return Value

    Whether the union’s current tag state has value “w480h320”.

  • Retrieves whether the union’s current tag state has value “w640h480”.

    Declaration

    Objective-C

    - (BOOL)isW640h480;

    Swift

    func isW640h480() -> Bool

    Return Value

    Whether the union’s current tag state has value “w640h480”.

  • Retrieves whether the union’s current tag state has value “w960h640”.

    Declaration

    Objective-C

    - (BOOL)isW960h640;

    Swift

    func isW960h640() -> Bool

    Return Value

    Whether the union’s current tag state has value “w960h640”.

  • Retrieves whether the union’s current tag state has value “w1024h768”.

    Declaration

    Objective-C

    - (BOOL)isW1024h768;

    Swift

    func isW1024h768() -> Bool

    Return Value

    Whether the union’s current tag state has value “w1024h768”.

  • Retrieves whether the union’s current tag state has value “w2048h1536”.

    Declaration

    Objective-C

    - (BOOL)isW2048h1536;

    Swift

    func isW2048h1536() -> Bool

    Return Value

    Whether the union’s current tag state has value “w2048h1536”.

  • Retrieves string value of union’s current tag state.

    Declaration

    Objective-C

    - (nonnull NSString *)tagName;

    Swift

    func tagName() -> String

    Return Value

    A human-readable string representing the union’s current tag state.