AdColonyAppOptions Class Reference
Inherits from | AdColonyOptions : NSObject |
---|---|
Declared in | AdColonyAppOptions.h |
Overview
AdColonyAppOptions objects are used to set configurable aspects of SDK state and behavior, such as a custom user identifier.
The common usage scenario is to instantiate and configure one of these objects and then pass it to configureWithAppID:zoneIDs:options:completion:
.
Set the properties below to configure a pre-defined option. Note that you can also pass arbitrary options using the AdColonyOptions API.
Also note that you can also reset the current options object the SDK is using by passing an updated object to setAppOptions:
.
Properties
userID
Sets a custom identifier for the current user.
@property (nonatomic, strong, nullable) NSString *userID
Discussion
Set this property to configure a custom identifier for the current user. Corresponding value must be 128 characters or less.
Declared In
AdColonyAppOptions.h
adOrientation
Sets the desired ad orientation.
@property (nonatomic) AdColonyOrientation adOrientation
Discussion
Set this property to configure the desired orientation for your ads.
Declared In
AdColonyAppOptions.h