Classes

The following classes are available globally.

  • A value object representing the options used when creating a call.

    This is a value object so instances can be checked for equality.

    See more

    Declaration

    Objective-C

    @interface BCXCallOptions : NSObject <NSCopying>

    Swift

    class BCXCallOptions : NSObject, NSCopying
  • A class encapsulating the configuration options for the bandyer sdk.

    See more

    Declaration

    Objective-C

    @interface BDKConfig : NSObject <NSCopying>

    Swift

    class BDKConfig : NSObject, NSCopying
  • A value object holding the configuration values for the Bandyer “file share” tool. You can create this object when you want to enable or disable the “file share” tool in Bandyer calls.

    See more

    Declaration

    Objective-C

    
    @interface BDKFileshareToolConfiguration : NSObject <NSCopying>

    Swift

    class FileshareToolConfiguration : NSObject, NSCopying
  • A value object holding the configuration values for the Whiteboard tool. You can create this object when you want to enable or disable the whiteboard tool in Bandyer calls.

    See more

    Declaration

    Objective-C

    
    @interface BDKWhiteboardToolConfiguration : NSObject <NSCopying>

    Swift

    class WhiteboardToolConfiguration : NSObject, NSCopying
  • The environment in which the sdk will run.

    See more

    Declaration

    Objective-C

    @interface BDKEnvironment : NSObject <NSCopying>

    Swift

    class BDKEnvironment : NSObject, NSCopying
  • The Bandyer SDK facade.

    See more

    Declaration

    Objective-C

    @interface BandyerSDK : NSObject

    Swift

    class BandyerSDK : NSObject
  • An opaque object representing a chat notification.

    Declaration

    Objective-C

    
    @interface BDKChatNotification : NSObject

    Swift

    class ChatNotification : NSObject
  • An opaque object representing a file share notification.

    Declaration

    Objective-C

    
    @interface BDKFileShareNotification : NSObject

    Swift

    class FileShareNotification : NSObject
  • Represents the intent of handling a incoming call. When the sdk detects an incoming call has been received, you should create an intent instance and hand it to a BDKCallViewController.

    See more

    Declaration

    Objective-C

    @interface BDKIncomingCallHandlingIntent : NSObject <BDKIntent>

    Swift

    class BDKIncomingCallHandlingIntent : NSObject, BDKIntent
  • Represents the intent of starting a call from an URL.

    See more

    Declaration

    Objective-C

    @interface BDKJoinURLIntent : NSObject <BDKIntent>

    Swift

    class BDKJoinURLIntent : NSObject, BDKIntent
  • Represents the request of making an outgoing call.

    See more

    Declaration

    Objective-C

    @interface BDKMakeCallIntent : NSObject <BDKIntent>

    Swift

    class BDKMakeCallIntent : NSObject, BDKIntent
  • A class holding the customization available for a BDKCallViewController instance.

    See more

    Declaration

    Objective-C

    
    @interface BDKCallViewControllerConfiguration : NSObject <NSCopying>

    Swift

    class CallViewControllerConfiguration : NSObject, NSCopying
  • A view controller showing the user interface for the intent provided. You should present this view controller modally.

    Remark: You must provide an intent before the view controller’s view is loaded.

    See more

    Declaration

    Objective-C

    
    @interface BDKCallViewController : UIViewController

    Swift

    class CallViewController : UIViewController
  • A class holding user display information.

    Instances of this class will be used when displaying user information in the view controller views.

    See more

    Declaration

    Objective-C

    @interface BDKUserInfoDisplayItem : NSObject <NSCopying>

    Swift

    class BDKUserInfoDisplayItem : NSObject, NSCopying
  • A class used to style the Bandyer SDK view controllers. Please see the provided documentation for knowledge about mapping between properties and UI components.

    See more

    Declaration

    Objective-C

    @interface BDKTheme : NSObject <NSCopying>

    Swift

    class BDKTheme : NSObject, NSCopying
  • Represents the intent of starting a chat.

    See more

    Declaration

    Swift

    @objc(BCHOpenChatIntent)
    public class OpenChatIntent : NSObject, BDKIntent

ChannelViewController

  • A view controller showing the “chat” user interface of the current user with the user specified in the OpenChatIntent provided. This view controller should be presented modally. You should not embed this view controller in a UINavigationController

    Remark

    You must provide an intent before the view controller’s view is loaded otherwise a fatalError will be raised crashing your app.
    See more

    Declaration

    Swift

    @objc(BCHChannelViewController)
    public class ChannelViewController : UIViewController
  • A class holding the customization available for a ChannelViewController instance.

    See more

    Declaration

    Swift

    @objc(BCHChannelViewControllerConfiguration)
    public class ChannelViewControllerConfiguration : NSObject
  • A class holding the customization available for a MessageNotificationView instance.

    Warning

    this class has been deprecated, the SDK will no longer use the BDKUserInfoFetcher instance provided to this object when presenting in-app notifications.
    See more

    Declaration

    Swift

    @available(*, deprecated, message: "MessageNotificationController and its related types are deprecated. They have been replaced by InAppNotificationsCoordinator protocol and its related types.")
    @objc(BCHMessageNotificationControllerConfiguration)
    public class MessageNotificationControllerConfiguration : NSObject
  • A controller showing the user interface for the message notification.

    See more

    Declaration

    Swift

    @available(*, deprecated, message: "MessageNotificationController is deprecated it has been replaced by InAppNotificationsCoordinator.")
    @objc(BCHMessageNotificationController)
    public class MessageNotificationController : NSObject
  • Represents the intent of navigating to the Bandyer downloads screen.

    See more

    Declaration

    Swift

    @objc(BDKOpenDownloadsIntent)
    public class OpenDownloadsIntent : NSObject, BDKIntent
  • A controller managing the “return to call” bar user interface. Once started, this controller will observe for any ongoing call and it wil show the “return to call” bar at the top of the screen when at least one call is being performed. It will also hide the presented “return to call” bar when all calls have finished.

    Remark

    In order for this controller to work properly, you must provide a UIViewController instance that will be used to host the “return to call” bar. Failing to do so will result in a fatalError crashing your app.
    See more

    Declaration

    Swift

    @objc(BDKCallBannerController)
    public class CallBannerController : NSObject
  • Represents the “return to call” bar presented at the top of the screen when a call is in progress.

    See more

    Declaration

    Swift

    @objc(BDKCallBannerView)
    public class CallBannerView : UIView
  • The domain for a BDKCallPresentationError.

    See more

    Declaration

    Swift

    @objc(BDKCallPresentationErrorDomain)
    public class CallPresentationErrorDomain : NSObject
  • A UIWindow subclass having a BDKCallViewControllerinstance as its rootViewController.

    See more

    Declaration

    Swift

    @objc(BDKCallWindow)
    public class CallWindow : UIWindow