PlayerFactory
public class PlayerFactory
Factory to create a Player
instance.
-
Creates a player instance configured via the provided
PlayerConfiguration
.Declaration
Swift
public static func create(playerConfiguration: PlayerConfiguration = PlayerConfiguration()) -> Player
Parameters
playerConfiguration
player configuration
Return Value
Player instance