CEVideoViewProfile
Overview
CEVideoViewProfile can be used to configure the Ad property before you request a new ad. For each ad format, we only support specific VideoProfile setting.
For
CENativeAD
case :
CEVideoViewProfileNativeMask = CEVideoViewProfileSpeaker | CEVideoViewProfileWifiTag |
CEVideoViewProfileCountDown | CEVideoViewProfileAutoPlay |
CEVideoViewProfileAutoReplay| CEVideoViewProfileAutoVolumeControl |
CEVideoViewProfileSilentStart | CEVideoViewProfileSponsorIcon |
CEVideoViewProfileAdIcon,
For
CECardAD
case :
CEVideoViewProfileCardMask = CEVideoViewProfileSpeaker | CEVideoViewProfileWifiTag |
CEVideoViewProfileCountDown | CEVideoViewProfileAutoPlay |
CEVideoViewProfileAutoReplay| CEVideoViewProfileSilentStart |
CEVideoViewProfileSponsorIcon | CEVideoViewProfileAdIcon,
For
CEInStreamAD
case:
CEVideoViewProfileInStreamMask = CEVideoViewProfileSpeaker | CEVideoViewProfileCountDown |
CEVideoViewProfileSilentStart | CEVideoViewProfileAdIcon |
CEVideoViewProfileSkipButton | CEVideoViewProfileAdCount,
Constants
NSUInteger
CEVideoViewProfileSpeaker If this flag is set, the speaker will be shown.
NSUInteger
CEVideoViewProfileWifiTag If this flag is set, the Wifi tag will be shown.
NSUInteger
CEVideoViewProfileCountDown If this flag is set, the countdown view will be shown.
NSUInteger
CEVideoViewProfileAutoPlay If this flag is set, the autoplay function will be enabled.
NSUInteger
CEVideoViewProfileAutoReplay If this flag is set, the autoReplay function will be enabled.
NSUInteger
CEVideoViewProfileAutoVolumeControl If this flag is set, the auto volume control function will be enabled.
NSUInteger
CEVideoViewProfileSilentStart If this flag is set, the silent start function will be enabled.
NSUInteger
CEVideoViewProfileSponsorIcon (Legacy) If this flag is set, the sponsor's icon will be shown.
NSUInteger
CEVideoViewProfileAdIcon If this flag is set, the ad icon will be shown.
NSUInteger
CEVideoViewProfileSkipButton If this flag is set, the skip button will be shown.
NSUInteger
CEVideoViewProfileAdCount If this flag is set, the remain ad count view will be shown.
Constants
CEVideoViewProfileSpeaker
NSUInteger CEVideoViewProfileSpeaker
If this flag is set, the speaker will be shown.
CEVideoViewProfileWifiTag
NSUInteger CEVideoViewProfileWifiTag
If this flag is set, the Wifi tag will be shown.
CEVideoViewProfileCountDown
NSUInteger CEVideoViewProfileCountDown
If this flag is set, the countdown view will be shown.
CEVideoViewProfileAutoPlay
NSUInteger CEVideoViewProfileAutoPlay
If this flag is set, the autoplay function will be enabled.
CEVideoViewProfileAutoReplay
NSUInteger CEVideoViewProfileAutoReplay
If this flag is set, the autoReplay function will be enabled.
CEVideoViewProfileAutoVolumeControl
NSUInteger CEVideoViewProfileAutoVolumeControl
If this flag is set, the auto volume control function will be enabled.
CEVideoViewProfileSilentStart
NSUInteger CEVideoViewProfileSilentStart
If this flag is set, the silent start function will be enabled.
CEVideoViewProfileSponsorIcon
NSUInteger CEVideoViewProfileSponsorIcon
(Legacy) If this flag is set, the sponsor's icon will be shown.
CEVideoViewProfileAdIcon
NSUInteger CEVideoViewProfileAdIcon
If this flag is set, the ad icon will be shown.
CEVideoViewProfileSkipButton
NSUInteger CEVideoViewProfileSkipButton
If this flag is set, the skip button will be shown.
CEVideoViewProfileAdCount
NSUInteger CEVideoViewProfileAdCount
If the ad needs to hide the count down view. The default value is false.
Last updated