# MuxFactory Class

    public class MuxFactory : AnalyticsComponentFactoryProtocol

Create Mux client instance

### Public

- `create(for:)`

  #### Declaration

  Swift

      public func create(for session: Session) -> AnalyticsComponentProtocol?

- `canAttach(to:)`

  #### Declaration

  Swift

      public func canAttach(to session: Session) -> Bool

- `shouldAttachToEveryPlayback()`

  Do no automatically attach when player is created

  #### Declaration

  Swift

      public func shouldAttachToEveryPlayback() -> Bool

- `isBackend(_:)`

  Mux backend

  #### Declaration

  Swift

      public func isBackend(_ analyticsBackend: AnalyticsBackend?) -> Bool

  #### Parameters

  `backend` | Mux backend

  #### Return Value

  if we create Mux backend