Type Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Objective-C

    typedef void(^LCCaptchaRequestCallback)(LCCaptchaDigest * _Nullable captchaDigest, NSError * _Nullable error)

    Swift

    typealias LCCaptchaRequestCallback = (LCCaptchaDigest?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^LCCaptchaVerificationCallback)(NSString * _Nullable validationToken, NSError * _Nullable error)

    Swift

    typealias LCCaptchaVerificationCallback = (String?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef NSString LCStatusType
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCStatusResultBlock)(LCStatus * _Nullable status, NSError * _Nullable error)

    Swift

    typealias LCStatusResultBlock = (LCStatus?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef NSString * LeanCloudSocialPlatform

    Swift

    struct LeanCloudSocialPlatform : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef enum : NSUInteger {
        LCLoggerLevelNone = 0,
        LCLoggerLevelInfo = 1,
        LCLoggerLevelDebug = 1 << 1,
        LCLoggerLevelError = 1 << 2,
        LCLoggerLevelAll = LCLoggerLevelInfo | LCLoggerLevelDebug | LCLoggerLevelError,
    } LCLoggerLevel
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCBooleanResultBlock)(BOOL succeeded,  NSError * _Nullable error)

    Swift

    typealias LCBooleanResultBlock = (Bool, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCIntegerResultBlock)(NSInteger number, NSError * _Nullable error)

    Swift

    typealias LCIntegerResultBlock = (Int, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCStringResultBlock)(NSString * _Nullable string, NSError * _Nullable error)

    Swift

    typealias LCStringResultBlock = (String?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCDataResultBlock)(NSData * _Nullable data, NSError * _Nullable error)

    Swift

    typealias LCDataResultBlock = (Data?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCArrayResultBlock)(NSArray * _Nullable objects, NSError * _Nullable error)

    Swift

    typealias LCArrayResultBlock = ([Any]?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCSetResultBlock)(NSSet * _Nullable set, NSError * _Nullable error)

    Swift

    typealias LCSetResultBlock = (Set<AnyHashable>?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCDictionaryResultBlock)(NSDictionary * _Nullable dictionary, NSError * _Nullable error)

    Swift

    typealias LCDictionaryResultBlock = ([AnyHashable : Any]?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCIdResultBlock)(id _Nullable object, NSError * _Nullable error)

    Swift

    typealias LCIdResultBlock = (Any?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCProgressBlock)(NSInteger percent)

    Swift

    typealias LCProgressBlock = (Int) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCObjectResultBlock)(LCObject * _Nullable object, NSError * _Nullable error)

    Swift

    typealias LCObjectResultBlock = (LCObject?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCUserResultBlock)(LCUser * _Nullable user, NSError * _Nullable error)

    Swift

    typealias LCUserResultBlock = (LCUser?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCFileResultBlock)(LCFile * _Nullable file, NSError * _Nullable error)

    Swift

    typealias LCFileResultBlock = (LCFile?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^LCCloudQueryCallback)(LCCloudQueryResult * _Nullable result, NSError * _Nullable error)

    Swift

    typealias LCCloudQueryCallback = (LCCloudQueryResult?, Error?) -> Void
  • key for updated property of conversation

    Declaration

    Objective-C

    typedef NSString *LCIMConversationUpdatedKey

    Swift

    struct LCIMConversationUpdatedKey : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Signature Action

    Declaration

    Objective-C

    typedef NSString *LCIMSignatureAction

    Swift

    struct LCIMSignatureAction : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Undocumented

    Declaration

    Objective-C

    typedef void(^LCIMBooleanResultBlock)(BOOL, NSError * _Nullable)

    Swift

    typealias LCIMBooleanResultBlock = (Bool, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^LCIMIntegerResultBlock)(NSInteger, NSError * _Nullable)

    Swift

    typealias LCIMIntegerResultBlock = (Int, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^LCIMArrayResultBlock)(NSArray * _Nullable, NSError * _Nullable)

    Swift

    typealias LCIMArrayResultBlock = ([Any]?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^LCIMConversationResultBlock)(LCIMConversation * _Nullable, NSError * _Nullable)

    Swift

    typealias LCIMConversationResultBlock = (LCIMConversation?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^LCIMChatRoomResultBlock)(LCIMChatRoom * _Nullable, NSError * _Nullable)

    Swift

    typealias LCIMChatRoomResultBlock = (LCIMChatRoom?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^LCIMTemporaryConversationResultBlock)(LCIMTemporaryConversation * _Nullable, NSError * _Nullable)

    Swift

    typealias LCIMTemporaryConversationResultBlock = (LCIMTemporaryConversation?, Error?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^LCIMProgressBlock)(NSInteger)

    Swift

    typealias LCIMProgressBlock = (Int) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef int32_t LCIMMessageMediaType

    Swift

    struct LCIMMessageMediaType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable