VIPlacement

@interface VIPlacement : NSObject

Backend provides specific ad content depending on placement

  • Placement identifier from the backend console

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nonnull) NSString *placementId;

    Swift

    var placementId: String { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nullable, nonatomic, strong, readonly) NSDictionary <NSString *, NSString *> * options

    Swift

    var options: [String : String]? { get }
  • Default initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWith:(nonnull NSString *)aPlacementId
     options:(nullable NSDictionary<NSString *, NSString *> *)options;

    Swift

    init(_ aPlacementId: String, options: [String : String]? = nil)

    Parameters

    aPlacementId

    from the backend console.

    options

    - for further extensions, could be null

    Return Value

    ‘VIPlacement’ object