Inherits from NSObject
Declared in PTAdAvailInfo.h

Overview

PTAdAvailInfo describes an ad opportunity within the stream

Tasks

Properties

  •   id

    Returns the id of the avail

    property
  •   duration

    Returns the duration of the avail in seconds

    property
  •   time

    Returns the timestamp associated with this instance

    property
  •   type

    Returns the type of the avail.

    property
  •   attributes

    Returns any additional attributes associated with this instance

    property

Init

Properties

attributes

Returns any additional attributes associated with this instance

@property (nonatomic, retain) NSMutableDictionary *attributes

Discussion

Returns any additional attributes associated with this instance

Declared In

PTAdAvailInfo.h

duration

Returns the duration of the avail in seconds

@property (nonatomic) double duration

Discussion

Returns the duration of the avail in seconds

Declared In

PTAdAvailInfo.h

id

Returns the id of the avail

@property (nonatomic, retain) NSString *id

Discussion

Returns the id of the avail

Declared In

PTAdAvailInfo.h

time

Returns the timestamp associated with this instance

@property (nonatomic) double time

Discussion

Returns the timestamp associated with this instance

Declared In

PTAdAvailInfo.h

type

Returns the type of the avail.

@property (nonatomic) PTAdAvailType type

Discussion

Returns the type of the avail.

Declared In

PTAdAvailInfo.h

Class Methods

isAdAvailTag:

Returns true if the ad opportunity is supported by the SDK and false otherwise

+ (BOOL)isAdAvailTag:(NSString *)availString

Discussion

Returns true if the ad opportunity is supported by the SDK and false otherwise

Declared In

PTAdAvailInfo.h

Instance Methods

getString

Returns a string representation of all the attributes and properties of the avail instance

- (NSString *)getString

Discussion

Returns a string representation of all the attributes and properties of the avail instance

Declared In

PTAdAvailInfo.h

initWithAvailString:

Initializes a new instance from a string containing the ad opportunity description

- (id)initWithAvailString:(NSString *)availString

Discussion

Initializes a new instance from a string containing the ad opportunity description

Declared In

PTAdAvailInfo.h