Classes
The following classes are available globally.
-
Wraps event type enum for further extensibility
See moreDeclaration
Objective-C
@interface VIAdEvent : NSObjectSwift
class VIAdEvent : NSObject
-
Provides functional for tracking events with custom service.
See moreDeclaration
Objective-C
@interface VIExternalTracker : NSObjectSwift
class VIExternalTracker : NSObject
-
Undocumented
See moreDeclaration
Objective-C
@interface VIMediator : NSObject @property (nonatomic, assign) MediatorState status; - (nullable NSString *)title; - (void)load; - (void)close; - (void)didReceiveError:(nonnull NSError *)error; - (void)didReceiveLoadError:(nonnull NSError *)error; - (void)didReceiveEventWithType:(VIAdEventType)type; @endSwift
class VIMediator : NSObject -
Undocumented
See moreDeclaration
Objective-C
@interface VIInterstitialMediator : VIMediator - (void)showFromViewController:(nonnull UIViewController *)aViewController; @endSwift
class VIInterstitialMediator : VIMediator -
Undocumented
See moreDeclaration
Objective-C
@interface VIInlineMediator : VIMediator /** If YES ad will be started automatically when it become ready. @default is NO */ @property (nonatomic, assign) BOOL startsWhenReady; /** Initiate playing ad. Call 'start' after receiving 'VIAdEventLoaded' event. If ad displaying is in progress all calls of 'start' will be ignored. VISDK will create own view and place it above the container provided in 'createVideoAdFor: inContainer:' by adding as a subview. Nature of the ad depends on server response for specific placement. Only native video ads are currently supported. Expect 'VIAdEventStarted' right after ad has run. All possible playback errors will be passed in 'adDidReceiveError:' After ad display finish delegate will be notified with 'VIAdEventCompleted' */ - (void)start; - (void)setContainerView:(nonnull UIView *)containerView; @endSwift
class VIInlineMediator : VIMediator
-
Declaration
Objective-C
@interface VIOptions : NSObjectSwift
class VIOptions : NSObject
-
Backend provides specific ad content depending on placement
See moreDeclaration
Objective-C
@interface VIPlacement : NSObjectSwift
class VIPlacement : NSObject
View on GitHub
Classes Reference