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