JWExperimentalAPI

Deprecated

Use JWFriendlyAdObstructions class instead


@interface JWExperimentalAPI : NSObject

A class that exposes experimental functionality. Some of these APIs are not yet officially supported by standards and will be modified when the industry establishes a norm. At that point these APIs will be deprecated and will subsequently be removed or replaced by the industry’s standard.

Friendly Advertising Obstructions

  • Used to register UIView elements as friendly advertising obstructions.

    Declaration

    Objective-C

    - (void)registerFriendlyAdObstruction:(nonnull UIView *)obstruction;

    Parameters

    obstruction

    the UIView element appearing on top of the player’s view during ad playback.

  • Used to retrieve all UIView elements registered as friendly advertising obstructions.

    Declaration

    Objective-C

    - (nonnull NSArray<UIView *> *)getFriendlyAdObstructions;

    Return Value

    the array of UIView elements registered as friendly advertising obstructions.

  • Used to unregister UIView elements previously registered as friendly advertising obstructions.

    Declaration

    Objective-C

    - (void)deregisterFriendlyAdObstruction:(nonnull UIView *)obstruction;

    Parameters

    obstruction

    the UIView element appearing on top of the player’s view during ad playback.

  • Used to unregister all UIView elements previously registered as friendly advertising obstructions.

    Declaration

    Objective-C

    - (void)deregisterAllFriendlyAdObstructions;