SKYAsset

@interface SKYAsset : NSObject <NSCopying, NSCoding>

Undocumented

  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)assetWithName:(nonnull NSString *)name
                                  fileURL:(nonnull NSURL *)fileURL;

    Swift

    convenience init(name: String, fileURL: URL)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)assetWithName:(nonnull NSString *)name
                                     data:(nonnull NSData *)data;

    Swift

    convenience init(name: String, data: Data)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)assetWithFileURL:(nonnull NSURL *)fileURL;

    Swift

    convenience init(fileURL: URL)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)assetWithData:(nonnull NSData *)data;

    Swift

    convenience init(data: Data)
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull name;

    Swift

    var name: String { get }
  • url

    Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSURL *_Nonnull url;

    Swift

    var url: URL { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSNumber *_Nonnull fileSize;

    Swift

    @NSCopying var fileSize: NSNumber { get }
  • The MIME type of the asset when the MIME type is known.

    When uploading asset, the MIME type stored in this property will be used to set the asset content type.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *_Nonnull mimeType;

    Swift

    var mimeType: String { get set }