iOS SDK - Player statesAsk AI Guide: How to use iOS states Player states (iOS) StatesDescriptionTypeplayerAreControlsEnabledIf the player controls are enabled.booleanplayerAspectRatioThe player current aspect ratio.stringplayerErrorContains information about the last error that occurred in the player, including title, message and code.Example: class Error( val title: String? = null, val message: String? = null )objectplayerIsAlertDialogDisplayedIf the player has the alert dialog displayed.booleanplayerIsBufferingIf the player is loading the media resource.booleanplayerIsCriticalPathReadyIf the player is ready to play.booleanplayerIsMutedIf the player is muted.booleanplayerIsPipNativeSupportedIf the player does support the native PiP.booleanplayerIsNavigationEnabledIf the next and previous controls in the PiP are enabled.booleanplayerIsPlaybackAllowedIf the player is allowed to play, depending on the browser permissions.booleanplayerIsPlayingIf the player is currently playing video or ad content.booleanplayerIsReplayScreenIf the player is in replay screen.booleanplayerIsStartScreenIf the player is in start screen.booleanplayerNextVideoThe id of the video next video in the queue.stringplayerPlaybackPermissionReasonThe reason why the playback has been allowed or not.stringplayerPlaybackSpeedThe current playback speed.numberplayerPresentationModeThe current mode where the player is displayed.stringplayerPrevVideoThe id of the video previous video which was played.stringplayerScaleModeThe player’s current scale mode.stringplayerVolumeThe current volume level. The volume and mute params operate separately, therefore, you could have a player with full volume, but also muted.number Video states (iOS) StatesDescriptionTypevideoCreatedTimeThe timestamp that corresponds to the creation of the video.datevideoDurationThe duration time of the video resource in seconds.numbervideoIdThe unique ID of the video.stringvideoIsCreatedForKidsIf the video is created for children.booleanvideoIsPasswordRequiredIf the video required a password to be read.booleanvideoOwnerIdThe id of the owner of the video.stringvideoOwnerScreenNameThe screen name of the owner of the video.stringvideoOwnerUsernameThe user name of the owner of the video.stringvideoQualitiesListThe video qualities that are available.stringvideoQualityThe quality value of the video loaded.stringvideoSubtitlesListThe language codes of the subtitle tracks which are available for the current media resource.stringvideoSubtitlesThe language code of the subtitle track that is currently enabled.stringvideoTimeThe current playback position of the video in seconds.numbervideoTitleThe title of the video loaded.string Advertising states (iOS) StatesDescriptionTypeadAdvertiserNameThe advertiser name.stringadCompanionAn array of parsed companion ad creatives.Example: public var adCompanion: [DailymotionPlayerSDK.AdCompanion]?arrayadCreativeIdThe id of the creative node from the VAST.stringadDescriptionThe description of the ad.stringadDurationThe duration time of the ad resource in seconds.numberadEndedReasonThe reason why the last ad ended.stringadErrorContains information about the last error that occurred with the ad.stringadIdThe id of the ad.stringadIsPlayingIf an ad resource is running.booleanadIsSkippableIf the ad can be skipped by the user at this moment.booleanadPositionThe position of the ad in the video.stringadSkipOffsetThe remaining time before the ad can be skipped, or -1 if no ad is running.numberadTimeThe current playback position of an ad in seconds.numberadTitleThe title of the ad.string