SCAdEnvironment

@interface SCAdEnvironment

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

  • Specify device type.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) DeviceType deviceType;
  • Specify network reachability

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NetworkReachability reachability;
  • Use a desiredBitrate, which overwrites bitrate calculation

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) int desiredBitrate;
  • Value of the screenSize (if not specified, the values of the current device will be used)

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) int screenSize;
  • Desired mime types. Pass as array of strings

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray *desiredMimeTypes