LCIMClientOpenOption

Objective-C

enum LCIMClientOpenOption : NSUInteger {}

Swift

enum LCIMClientOpenOption : UInt

open option for client

  • Default Option. if seted ‘tag’, then use ‘ForceOpen’ to open client, this will let other clients(has the same ID and Tag) to be kicked or can’t reopen, and now only this client online. if not seted ‘tag’, open client with this option is just a normal open action, it will not kick other client.

    Declaration

    Objective-C

    LCIMClientOpenOptionForceOpen = 0

    Swift

    case forceOpen = 0
  • if seted ‘tag’, then use ‘Reopen’ option to open client, if client has not been kicked, it can be opened, else if client has been kicked, it can’t be opened. if not seted ‘tag’, open client with this option is just a normal open action, it will not be kicked by other client.

    Declaration

    Objective-C

    LCIMClientOpenOptionReopen = 1

    Swift

    case reopen = 1