func startSession()

in AmazonChimeSDK/AmazonChimeSDK/internal/audio/protocols/AudioClientProtocol.swift [14:75]


    func startSession(_ host: String!,
                      basePort port: Int,
                      callId: String!,
                      profileId: String!,
                      microphoneMute mic_mute: Bool,
                      speakerMute spk_mute: Bool,
                      isPresenter presenter: Bool,
                      sessionToken tokenString: String!,
                      audioWsUrl: String!,
                      callKitEnabled: Bool,
                      appInfo: AppInfo!) -> audio_client_status_t

    // swiftlint:disable function_parameter_count variable_name
    func startSession(_ host: String!,
                      basePort port: Int,
                      callId: String!,
                      profileId: String!,
                      microphoneMute mic_mute: Bool,
                      speakerMute spk_mute: Bool,
                      isPresenter presenter: Bool,
                      sessionToken tokenString: String!,
                      audioWsUrl: String!,
                      callKitEnabled: Bool,
                      appInfo: AppInfo!,
                      audioMode: AudioModeInternal) -> audio_client_status_t

    func startSession(_ host: String!,
                      basePort port: Int,
                      callId: String!,
                      profileId: String!,
                      microphoneMute mic_mute: Bool,
                      speakerMute spk_mute: Bool,
                      isPresenter presenter: Bool,
                      sessionToken tokenString: String!,
                      audioWsUrl: String!,
                      callKitEnabled: Bool) -> audio_client_status_t

    func stopSession() -> Int

    func isSpeakerOn() -> Bool

    func setSpeakerOn(_ value: Bool) -> Bool

    func stopAudioRecord() -> Int

    func isMicrophoneMuted() -> Bool

    func setMicrophoneMuted(_ mute: Bool) -> Int

    func setPresenter(_ presenter: Bool)

    func remoteMute()

    func audioLogCallBack(_ logLevel: loglevel_t, msg: String!)

    func isBliteNSSelected() -> Bool

    func setBliteNSSelected(_ bliteSelected: Bool) -> Int

    func endOnHold()

    var delegate: AudioClientDelegate! { get set }