Classes

The following classes are available globally.

  • A JSON Web Token (JWT) based authentication strategy is to be used to authenticate a guest user on Cisco Webex.

    Since

    1.2.0
    See more

    Declaration

    Swift

    public class JWTAuthenticator : Authenticator
  • An OAuth based authentication strategy for authenticating a user on Cisco Webex.

    Since

    1.2.0
    See more

    Declaration

    Swift

    public class OAuthAuthenticator : Authenticator
  • Since

    1.2.0
    See more

    Declaration

    Swift

    public class MembershipClient
  • A data type represents a local file.

    Since

    1.4.0
    See more

    Declaration

    Swift

    public class LocalFile
  • MessageClient represents a client to the Webex Teams platform. It can send and receive messages.

    Use Webex.messages to get an instance of MessageClient.

    Since

    1.4.0
    See more

    Declaration

    Swift

    public class MessageClient
  • Since

    1.2.0
    See more

    Declaration

    Swift

    public class PersonClient
  • Undocumented

    See more

    Declaration

    Swift

    public class AuxStream
  • See

    see Phone API about how to create calls.

    See

    CallStatus for the states and transitions of a Call.

    Since

    1.2.0
    See more

    Declaration

    Swift

    public class Call : WebexBroadcastServerProtocol
  • Undocumented

    Declaration

    Swift

    public class MediaRenderView : SparkVideoLayer
  • A CallSchedule represents the schedule of a scheduled call

    Since

    2.6.0
    See more

    Declaration

    Swift

    public class CallSchedule : Equatable, CustomStringConvertible
  • Undocumented

    Declaration

    Swift

    public class H264LicensePrompter : UIViewController
  • The application can obtain a phone object from Webex object and use phone to call other Cisco Webex users or PSTN when enabled.

    Since

    1.2.0
    See more

    Declaration

    Swift

    public class Phone
  • Since

    1.2.0
    See more

    Declaration

    Swift

    public class SpaceClient
  • An iOS client wrapper of the Cisco Webex Teams REST API .

    Since

    1.2.0
    See more

    Declaration

    Swift

    public class TeamClient
  • An iOS client wrapper of the Cisco Webex TeamMemberships REST API .

    Since

    1.2.0
    See more

    Declaration

    Swift

    public class TeamMembershipClient
  • Webex object is the entry point to use this Cisco Webex iOS SDK. A Webex object must be created with one of the following Authenticator.

    • OAuthAuthenticator - this should be used when the SDK is to be authenticated as a registered user to Cisco Webex cloud.
       let clientId = "Def123456..."
       let clientSecret = "fed456..."
       let scope = "spark:all" // This can be a space separated list of scopes that your access token should posses. It should always contain `spark:all`. Please contact support if you want to add new scopes to your app.
       let redirectUri = "MyCustomApplication://response"
       let emailId = "user@example.com"
       let authenticator = OAuthAuthenticator(clientId: clientId, clientSecret: clientSecret, scope: scope, redirectUri: redirectUri, emailId: emailId)
       let webex = Webex(authenticator: authenticator)
       webex = Webex(authenticator: authenticator)
       webex.initialize { isLoggedIn in
            if !isLoggedIn {
                authenticator.authorize(parentViewController: self) { result in
                    if result == .success {
                        print("user is logged in")
                    }
                }
            }
        }
    
    • JWTAuthenticator - This should be used when the SDK is to be authenticated as a guest user to Cisco Webex cloud.
       let authenticator = JWTAuthenticator()
       let webex = Webex(authenticator: authenticator)
       webex.initialize { isLoggedIn in
            if !isLoggedIn {
                authenticator.authorizedWith(jwt: myJwt) { result in
                    if result == .success {
                        print("Guest user is logged in")
                    }
                }
            }
       }
    

    Attention

    All APIs on Cisco Webex iOS SDK are expected to run on the application’s main thread, unless specified otherwise.

    Since

    1.2.0
    See more

    Declaration

    Swift

    @objc
    public class Webex : NSObject
    extension Webex: OmniusServiceBridgeDelegate
  • An iOS client wrapper of the Cisco Webex Webhooks REST API .

    Since

    1.2.0
    See more

    Declaration

    Swift

    public class WebhookClient
  • Undocumented

    See more

    Declaration

    Swift

    public class SparkClientProvider : AppleSparkClientProvider
  • A data type represents an email address with validation and equatable implementation.

    Since

    1.2.0
    See more

    Declaration

    Swift

    open class EmailAddress
    extension EmailAddress: Equatable