import AppleSilentSwitchBehaviour from './AppleSilentSwitchBehaviour'; import AppleNetworkConfiguration from './AppleNetworkConfiguration'; /** * Player configuration specific to Apple platforms. * * @group Interfaces */ export default interface ApplePlayerConfiguration { /** * Specifies whether to ignore or obey the physical silent switch on Apple devices. * If not defined, a default system behavior is left. */ silentSwitchBehaviour?: AppleSilentSwitchBehaviour; /** * The network configuration to tweak timeouts and cellular connectivity. */ networkConfiguration?: AppleNetworkConfiguration; /** * Enable/disable automatic media selection for AVPlayer * When true, the player automatically selects media options based on user preferences. * When false, automatic selection is disabled. * Defaults to Apple's system behavior if not specified. */ appliesMediaSelectionCriteriaAutomatically?: boolean; }