SCTVOSSDK 23.0.0
Smartclip Advertisement Framework for tvOS
Loading...
Searching...
No Matches
Classes | Instance Methods | Protected Types | Properties | List of all members
SCAdEnvironment Class Reference

#import <SCAdEnvironment.h>

Inheritance diagram for SCAdEnvironment:

Classes

struct  SCTimeouts
 Timeout values that can be changed. More...
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 Not available here.
 
(instancetype) - initWithMacros:
 Default initializer.
 

Protected Types

enum  DeviceType {
  deviceTypeNone = -1 , deviceTypeMobile , deviceTypeTablet , deviceTypeDesktop ,
  deviceTypeTV
}
 
enum  NetworkReachability { reachabilityNone = -1 , reachabilityWWAN , reachabilityWIFI , reachabilityUnreachable }
 
typedef enum SCAdEnvironment::DeviceType DeviceType
 
typedef enum SCAdEnvironment::NetworkReachability NetworkReachability
 
typedef struct SCAdEnvironment::SCTimeouts SCTimeouts
 Timeout values that can be changed.
 

Properties

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.
 
SCAdMacrosmacros
 Macros.
 
SCTimeouts timeouts
 Timeout values.
 

Detailed Description

This class is used to specify certain environment variables like desired bitrate, deviceType and screenSize

Member Typedef Documentation

◆ DeviceType

- (typedef enum DeviceType) SCAdEnvironment:
protected

enum DeviceType specifies the device type on which this is running (must be set from outside)

◆ NetworkReachability

- (typedef enum NetworkReachability) SCAdEnvironment:
protected

enum NetworkReachability specifies the type of internet connection (must be set from outside)

Member Enumeration Documentation

◆ DeviceType

- (enum) DeviceType
protected

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
protected

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: