BBNativePlayerView
BBNativePlayerView is what you place in your layout. It extends the platform’s core UI View class (more specifically: FrameLayout)
Parameters
should be of type AppCompatActivity for fullscreen functionality
(optional, default: null)
(optional, default: 0)
Constructors
Functions
jsonUrl: the json embed URL
options: the options dictionary (optional), options recognized:
adsystem_buid: app bundle id
adsystem_rdid: resettable device identifier
adsystem_idtype: identifier type ("idfa" for iOS, "adid" for Android)
adsystem_is_lat: limit ad tracking (Boolean)
adsystem_ppid: publisher-provided id
allowCollapseExpand: honour collapse / expand requests (Boolean or String)
waitForCmp: wait for Consent Management, then setup (Boolean or String)
handleConsentManagement: handle Consent Management (Boolean or String) -- needs waitForCmp
tagForUnderAgeOfConsent: (Boolean or String)
consent_string: default consent string (String)
consent_gdprApplies: default GDPR applies (Int)
consent_cmpVersion: default CMP version (Int)
autoPlay: auto play (Boolean or String), overrides playout setting
commercials: allow commercials (Boolean or String), overrides playout setting
noChromeCast: no ChromeCast support (Boolean or String), overrides playout setting
noStats: no stats logging (Boolean), overrides playout setting