Package com.castlabs.android.adverts
Class AdSchedule
java.lang.Object
com.castlabs.android.adverts.AdSchedule
- All Implemented Interfaces:
Parcelable
Describes a custom ad schedule.
- Since:
- 4.2.24
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forAdSchedulestatic @interfaceDefines the possible types of ad schedules.Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Parcelable.Creator<AdSchedule> Parcelable Creator for AdSchedule.static final intThe default type of ad schedule.static final intConstant for a manually defined ad schedule.final intThe type of ad schedule.Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Method Summary
Modifier and TypeMethodDescriptionintbooleaninthashCode()voidwriteToParcel(Parcel dest, int flags)
-
Field Details
-
SCHEDULE_MANUAL
public static final int SCHEDULE_MANUALConstant for a manually defined ad schedule.- See Also:
-
scheduleType
public final int scheduleTypeThe type of ad schedule. -
DEFAULT_SCHEDULE_TYPE
public static final int DEFAULT_SCHEDULE_TYPEThe default type of ad schedule.- See Also:
-
CREATOR
Parcelable Creator for AdSchedule.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
writeToParcel
- Specified by:
writeToParcelin interfaceParcelable
-
describeContents
public int describeContents()- Specified by:
describeContentsin interfaceParcelable
-