KTKActionContent Class Reference

Inherits from NSObject
Conforms to NSCopying
NSObject
NSSecureCoding
Declared in KTKActionContent.h

Content Properties

  type

Action content’s type. (read-only)

@property (nonatomic, assign, readonly) KTKActionContentType type

Discussion

Action content’s type. (read-only)

Declared In

KTKActionContent.h

  mimeType

Specific mime type of the content. (read-only)

@property (nonatomic, strong, readonly) NSString *mimeType

Discussion

Specific mime type of the content. (read-only)

Declared In

KTKActionContent.h

  converting

A boolean flag indicating whether content file is being converted now. (read-only)

@property (nonatomic, assign, readonly, getter=isConverting) BOOL converting

Discussion

A boolean flag indicating whether content file is being converted now. (read-only)

Declared In

KTKActionContent.h

  contentURL

The URL object of content data. (read-only)

@property (nonatomic, strong, readonly) NSURL *contentURL

Discussion

The URL object of content data. (read-only)

Declared In

KTKActionContent.h

Model Methods

– downloadContentDataWithCompletion:

Downloads the action’s content data.

- (void)downloadContentDataWithCompletion:(void ( ^ ) ( NSData *_Nullable , NSError *_Nullable ))completion

Parameters

completion

A block object to be executed when a download process finishes.

Discussion

Downloads the action’s content data.

Declared In

KTKActionContent.h