AdPlayerPlacementView APIs - Android
Creating instances of AdPlayerPlacementView
and attaching a player tag to it is described in the Displaying a Player section.
This section provides description of the other APIs available on the AdPlayerPlacementView
, except for the floating scope API that is described in the Floating Templates section.
Basic Parameters
Parameter Name | Parameter Type | Parameter Description |
---|---|---|
playerTagId | String (optional) | The ID of the |
label | String (optional) | A convenience field to ease the identification of |
Display
Parameter Name | Parameter Type | Parameter Description |
---|---|---|
priority | Int (1-999) | In case more than one placement is visible on the screen, a |
animateAppearance | Boolean | Defines weather the appearance of new placements on the screen should be animated. Is |
appearanceAnimationDuration | Long | The duration of the appearance animation in milliseconds if |
appearOnPlay | Boolean | When set to |
allowFloatingAbove | Boolean | In case the player in this |
Controls
Display
close()
prevents the player from appearing in this placement again unless the screen (Activity\Fragment) is recreated.
Â