LinearAdSlot constructor
LinearAdSlot({
- required String slotId,
- required int totalDuration,
- required VastRequestOptions requestOptions,
- int? width,
- int? height,
- Orientation orientation = Orientation.PORTRAIT,
- int? maxAdPods,
- CreativeMatchStrategy? creativeMatchStrategy,
- bool allowMobileTraffic = false,
Implementation
LinearAdSlot({
required String slotId,
required int totalDuration,
required VastRequestOptions requestOptions,
int? width,
int? height,
Orientation orientation = Orientation.PORTRAIT,
int? maxAdPods,
CreativeMatchStrategy? creativeMatchStrategy,
bool allowMobileTraffic = false,
}) : super(
slotId: slotId,
totalDuration: totalDuration,
width: width,
height: height,
requestOptions: requestOptions,
orientation: orientation,
maxAdPods: maxAdPods,
creativeMatchStrategy: creativeMatchStrategy,
allowMobileTraffic: allowMobileTraffic,
);