# GstPlayer Extension

    extension GstPlayer: GstBackendDelegate

    extension GstPlayer: ViewBasedAPI

### ViewBasedAPI

- `attach(to:)`

  #### Declaration

  Swift

      public func attach(to layer: CALayer)

- `update(visibility:)`

  #### Declaration

  Swift

      public func update(visibility _: Bool)

- `update(size:)`

  #### Declaration

  Swift

      public func update(size to: CGSize)

- `detachFromView()`

  #### Declaration

  Swift

      public func detachFromView()