Type Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Objective-C

    typedef void (^SKTImageUploadProgressBlock)(double progress)

    Swift

    typealias SKTImageUploadProgressBlock = (Double) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^SKTImageUploadCompletionBlock)(NSError* _Nullable error, SKTMessage* _Nullable message)

    Swift

    typealias SKTImageUploadCompletionBlock = (Error?, SKTMessage?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^SKTFileUploadProgressBlock)(double progress)

    Swift

    typealias SKTFileUploadProgressBlock = (Double) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^SKTFileUploadCompletionBlock)(NSError* _Nullable error, SKTMessage* _Nullable message)

    Swift

    typealias SKTFileUploadCompletionBlock = (Error?, SKTMessage?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^SKTAuthenticationCompletionBlock)(NSString *jwt)

    Swift

    typealias SKTAuthenticationCompletionBlock = (String) -> Void