# HLSPlugin Class

    @objc
    public class HLSPlugin : NSObject, CLPluginProtocol

CastlabsApple

### Lifecycle

- `init()`

  #### Declaration

  Swift

      public override init()

- `init(_:)`

  #### Declaration

  Swift

      public init(_ settings: HLSSettings)

### Public

- `name`

  #### Declaration

  Swift

      public let name: String

- `version`

  #### Declaration

  Swift

      public let version: String

- `pluginAttached(_:)`

  CastlabsApple was attached to the core sdk

  #### Declaration

  Swift

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

  #### Parameters

  `context` | with environment context

- `pluginDetached()`

  Loaders

  #### Declaration

  Swift

      public func pluginDetached()

- `configure(_:)`

  #### Declaration

  Swift

      public func configure(_: CLPluginConfiguration)