Yandex Mobile Ads
Loading...
Searching...
No Matches
AdSize.cs
Go to the documentation of this file.
1/*
2 * This file is a part of the Yandex Advertising Network
3 *
4 * Version for Unity (C) 2023 YANDEX
5 *
6 * You may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at https://legal.yandex.com/partner_ch/
8 */
9
11{
15 public class AdSize
16 {
17 public int Width { get; private set; }
18
19 public int Height { get; private set; }
20
21 internal AdSize(int width, int height)
22 {
23 Width = width;
24 Height = height;
25 }
26
27 override public string ToString()
28 {
29 return $"AdSize(Width={Width}, Height={Height})";
30 }
31 }
32}
This class represents the size of the ad.
Definition AdSize.cs:16
override string ToString()
Definition AdSize.cs:27