IMInterstitial Class Reference

Inherits from NSObject
Declared in IMInterstitial.h

  delegate

The delegate to receive callbacks

@property (nonatomic, weak) id<IMInterstitialDelegate> delegate

Discussion

The delegate to receive callbacks

Declared In

IMInterstitial.h

  keywords

A free form set of keywords, separated by ‘,’ to be sent with the ad request. E.g: “sports,cars,bikes”

@property (nonatomic, strong) NSString *keywords

Discussion

A free form set of keywords, separated by ‘,’ to be sent with the ad request. E.g: “sports,cars,bikes”

Declared In

IMInterstitial.h

  extras

Any additional information to be passed to InMobi.

@property (nonatomic, strong) NSDictionary *extras

Discussion

Any additional information to be passed to InMobi.

Declared In

IMInterstitial.h

  creativeId

A unique identifier for the creative.

@property (nonatomic, strong, readonly) NSString *creativeId

Discussion

A unique identifier for the creative.

Declared In

IMInterstitial.h

– initWithPlacementId:

Initialize an Interstitial with the given PlacementId

- (instancetype)initWithPlacementId:(long long)placementId

Parameters

placementId

The placementId for loading the interstitial

Discussion

Initialize an Interstitial with the given PlacementId

Declared In

IMInterstitial.h

– initWithPlacementId:delegate:

Initialize an Interstitial with the given PlacementId

- (instancetype)initWithPlacementId:(long long)placementId delegate:(id<IMInterstitialDelegate>)delegate

Parameters

placementId

The placementId for loading the interstitial

delegate

The delegate to receive callbacks

Discussion

Initialize an Interstitial with the given PlacementId

Declared In

IMInterstitial.h

– getSignals

Get signals from the SDK. The signals will be asynchronously given via the gotSignals method on the IMInterstitialDelegate protocol.

- (void)getSignals

Discussion

Get signals from the SDK. The signals will be asynchronously given via the gotSignals method on the IMInterstitialDelegate protocol.

Declared In

IMInterstitial.h

– load

Loads an Interstitial

- (void)load

Discussion

Loads an Interstitial

Declared In

IMInterstitial.h

– load:

Loads a Interstitial Ad with a specified response.

- (void)load:(NSData *)response

Discussion

Loads a Interstitial Ad with a specified response.

Declared In

IMInterstitial.h

– isReady

To query if the interstitial is ready to be shown

- (BOOL)isReady

Discussion

To query if the interstitial is ready to be shown

Declared In

IMInterstitial.h

– showFromViewController:

Displays the interstitial on the screen

- (void)showFromViewController:(UIViewController *)viewController

Parameters

viewController,

this view controller will be used to present interestitial.

Discussion

Displays the interstitial on the screen

Declared In

IMInterstitial.h

– showFromViewController:withAnimation:

Displays the interstitial on the screen

- (void)showFromViewController:(UIViewController *)viewController withAnimation:(IMInterstitialAnimationType)type

Parameters

type

The transition type for interstitial presentation.

viewController,

this view controller will be used to present interestitial.

Discussion

Displays the interstitial on the screen

Declared In

IMInterstitial.h

– getAdMetaInfo

Contains additional information of ad.

- (NSDictionary *)getAdMetaInfo

Discussion

Contains additional information of ad.

Declared In

IMInterstitial.h