Skip to content

Commit

Permalink
fixup! Add Engagement Launcher interface and getter from Glia
Browse files Browse the repository at this point in the history
  • Loading branch information
ykyivskyi-gl committed Sep 26, 2024
1 parent 24e6da2 commit a45d6f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions GliaWidgets/Public/Glia/Glia+EngagementLauncher.swift
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import Foundation

extension Glia {
/// Retrieves an instance of `EngagementLauncher`
/// Retrieves an instance of `EngagementLauncher`.
///
/// - Parameters:
/// - queueIds: A list of queue IDs to be used for the engagement launcher. When nil, the default queues will be used.
///
/// - Returns:
/// - `EngagementLauncher` instance
///
/// - `EngagementLauncher` instance.
public func getEngagementLauncher(queueIds: [String]?) -> EngagementLauncher {
.init(queueIds: queueIds)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import Foundation
import GliaCoreSDK

/// `EngagementLauncher`class allows launching different types of engagements, such as chat,
/// audio calls, video calls, and secure messaging.
public final class EngagementLauncher {

Check warning on line 7 in GliaWidgets/Sources/EngagementLauncher/EngagementLauncher.swift

View workflow job for this annotation

GitHub Actions / SwiftLint

Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
private let queueIds: [String]?
Expand Down

0 comments on commit a45d6f1

Please sign in to comment.