commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADMediationAdSize.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2019 Google. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <GoogleMobileAds/GADAdSize.h> |
|
9 |
|
|
10 |
/// Returns the closest valid ad size from possibleAdSizes as compared to |original|. The selected |
|
11 |
/// size must be smaller than or equal in size to the original. The selected size must also be |
|
12 |
/// within a configurable fraction of the width and height of the original. If no valid size exists, |
|
13 |
/// returns GADAdSizeInvalid. |
|
14 |
FOUNDATION_EXPORT GADAdSize |
|
15 |
GADClosestValidSizeForAdSizes(GADAdSize original, NSArray<NSValue *> *_Nonnull possibleAdSizes); |