adChoicesPlacement property
int
adChoicesPlacement
The AdChoices overlay is set to the top right corner by default. Apps can change which corner this overlay is rendered in by setting this property to one of the following:
ADCHOICES_TOP_LEFT
ADCHOICES_TOP_RIGHT
defaultADCHOICES_BOTTOM_RIGHT
ADCHOICES_BOTTOM_LEFT
Implementation
int get adChoicesPlacement => _adChoichesPlacement;
Implementation
set adChoicesPlacement(int value) {
assert(
[
ADCHOICES_TOP_LEFT,
ADCHOICES_TOP_RIGHT,
ADCHOICES_BOTTOM_RIGHT,
ADCHOICES_BOTTOM_LEFT,
].contains(value),
'The entered value is not accepted. Accepted values: 0, 1, 2, 3',
);
_adChoichesPlacement = value;
}