BCXUser

Objective-C

@protocol BCXUser <BDFUser>

Swift

protocol BCXUser : BDFUser

Represents a bandyer’s user with its status.

User state

  • The user status flag

    Declaration

    Objective-C

    @property (nonatomic, readonly) BCXUserStatus status;

    Swift

    var status: BCXUserStatus { get }
  • Returns a flag indicating whether the user is in busy state, or not.

    Declaration

    Objective-C

    - (BOOL)isBusy;

    Swift

    func isBusy() -> Bool

    Return Value

    YES if the user is in busy state, NO otherwise

  • Returns a flag indicating whether the user is online, or not.

    Declaration

    Objective-C

    - (BOOL)isOnline;

    Swift

    func isOnline() -> Bool

    Return Value

    YES if the user is online, NO otherwise

  • Returns a flag indicating whether the user is offline, or not.

    Declaration

    Objective-C

    - (BOOL)isOffline;

    Swift

    func isOffline() -> Bool

    Return Value

    YES if the user is offline, NO otherwise

User’s capabilities

  • Returns a boolean flag indicating whether the user has permission to upgrade calls to audio/video calls, or not.

    Declaration

    Objective-C

    - (BOOL)canUpgradeToVideo;

    Swift

    func canUpgradeToVideo() -> Bool

    Return Value

    YES if the user has the permission to upgrade a call to an audio/video call, NO otherwise.