aspectRatio property
The aspect ratio of the media content, which can be an image or a video.
This usually corresponds to the aspect ratio set in options
(NativeAdOptions):
- MEDIA_ASPECT_RATIO_ANY: Can be any of the aspect ratios said below
- MEDIA_ASPECT_RATIO_LANDSCAPE: Usually 16:9
- MEDIA_ASPECT_RATIO_PORTRAIT: Usually 4:3
- MEDIA_ASPECT_RATIO_SQUARE: Usually 1:1
For more info, read the documentation
Implementation
final double? aspectRatio;