# BroadpeakPlugin Class

    public class BroadpeakPlugin : CLPluginProtocol

### Lifecycle

- `init(_:)`

  #### Declaration

  Swift

      public init(_ settings: BroadpeakSettings)

### Public

- `sessionStartRetries`

  Number of extra attempts to acquire a Broadpeak session URL when `StreamingSession/getURL` returns an empty URL or an error. Under heavy load the call can occasionally fail and usually succeeds on the first retry. Mirrors the Android plugin’s `SESSION_START_RETRIES`.

  #### Declaration

  Swift

      public static var sessionStartRetries: Int

- `name`

  #### Declaration

  Swift

      public let name: String

- `version`

  #### Declaration

  Swift

      public let version: String

- `pluginAttached(_:)`

  #### Declaration

  Swift

      public func pluginAttached(_ context: CLPluginContext) -> Int

- `pluginDetached()`

  #### Declaration

  Swift

      public func pluginDetached()

- `configure(_:)`

  #### Declaration

  Swift

      public func configure(_: CLPluginConfiguration)