Package com.castlabs.android.adverts
Class AdRequest
java.lang.Object
com.castlabs.android.adverts.AdRequest
- All Implemented Interfaces:
Parcelable
Container class for Ad requests.
- Since:
- 3.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Parcelable.Creator<AdRequest> Creator for Parcelable.final BundleThe bundle with ads specific parameters.static final StringKey for identifying the default time offset that will be added to the current position when manually scheduling adsstatic final StringAd tag for (client-side) IMA requests.Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TAG_URL_KEY
Ad tag for (client-side) IMA requests.- See Also:
-
request
The bundle with ads specific parameters. -
SCHEDULE_DELAY_MS_KEY
Key for identifying the default time offset that will be added to the current position when manually scheduling ads- See Also:
-
CREATOR
Creator for Parcelable.
-
-
Constructor Details
-
AdRequest
Create ads request with ads specific parameters stored in the provided Bundle- Parameters:
request- The bundle with ads specific parameters
-
-
Method Details
-
describeContents
public int describeContents()- Specified by:
describeContentsin interfaceParcelable
-
writeToParcel
- Specified by:
writeToParcelin interfaceParcelable
-
equals
-