IMAPlugin Class

public class IMAPlugin : CLPluginProtocol

Plugin wrapping Google IMA ads

Lifecycle

  • Declaration

    Swift

    public init()

Public

  • Declaration

    Swift

    public let name: String
  • Declaration

    Swift

    public let version: String
  • Attach CastlabsIMA plugin to the Core SDK

    Declaration

    Swift

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

    Parameters

    context

    plugin context

  • Detach CastlabsIMA plugin from the Core SDK

    Declaration

    Swift

    public func pluginDetached()
  • Pass plugin configuration

    Declaration

    Swift

    public func configure(_: CLPluginConfiguration)

    Parameters

    configuration

    plugin configuration