This class is used to specify certain environment variables like desired bitrate, deviceType and screenSize.
More...
#import <SCAdEnvironment.h>
|
(instancetype) | - NS_UNAVAILABLE |
| Not available here.
|
|
(instancetype) | - initWithMacros: |
| Default initializer.
|
|
|
DeviceType | deviceType |
| Specify device type.
|
|
NetworkReachability | reachability |
| Specify network reachability.
|
|
NSInteger | desiredBitrate |
| Use a desiredBitrate, which overwrites bitrate calculation.
|
|
CGSize | screenSize |
| Value of the screenSize (if not specified, the values of the current device will be used)
|
|
NSArray * | desiredMimeTypes |
| Desired mime types. Pass as array of strings.
|
|
SCAdMacros * | macros |
| Set/Get your macro settings here.
|
|
BOOL | prefetchBuffetAds |
|
SCTimeouts | timeouts |
| Timeout values.
|
|
This class is used to specify certain environment variables like desired bitrate, deviceType and screenSize.
◆ DeviceType
enum DeviceType specifies the device type on which this is running (must be set from outside)
Enumerator |
---|
deviceTypeNone | No device type specified.
|
deviceTypeMobile | Device type mobile.
|
deviceTypeTablet | Device type tablet.
|
deviceTypeDesktop | Device type desktop.
|
deviceTypeTV | Device type tv.
|
◆ NetworkReachability
enum NetworkReachability specifies the type of internet connection (must be set from outside)
Enumerator |
---|
reachabilityNone | No reachability specified.
|
reachabilityWWAN | Reachability wwan.
|
reachabilityWIFI | Reachability wifi.
|
reachabilityUnreachable | Reachability unreachable.
|
The documentation for this class was generated from the following file:
- xcframework/SmartclipSDKiOS.xcframework/ios-arm64_armv7/SmartclipSDKiOS.framework/Headers/SCAdEnvironment.h