SCAdEnvironment
@interface SCAdEnvironment : NSObject
This class is used to specify certain environment variables like desired bitrate, deviceType and screenSize
-
Specify device type.
Declaration
Objective-C
@property (nonatomic) DeviceType deviceType; -
Specify network reachability
Declaration
Objective-C
@property (nonatomic) NetworkReachability reachability; -
Use a desiredBitrate, which overwrites bitrate calculation
Declaration
Objective-C
@property (nonatomic) NSInteger desiredBitrate; -
Value of the screenSize (if not specified, the values of the current device will be used)
Declaration
Objective-C
@property (nonatomic) int screenSize; -
Desired mime types. Pass as array of strings
Declaration
Objective-C
@property (nonatomic, strong) NSArray *_Nonnull desiredMimeTypes; -
Set/Get your macro settings here
Declaration
Objective-C
@property (nonatomic, strong) SCAdMacros *_Nonnull macros; -
Unavailable
Not available here
Declaration
Objective-C
- (nonnull instancetype)init; -
Default initializer
Declaration
Objective-C
- (nonnull instancetype)initWithMacros:(nonnull SCAdMacros *)macros;
SCAdEnvironment Class Reference