Package com.castlabs.android.adverts
Class AdSchedule.Builder
java.lang.Object
com.castlabs.android.adverts.AdSchedule.Builder
- Enclosing class:
AdSchedule
Builder for
AdSchedule-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Builds and returns an instance ofAdSchedule.scheduleType(int scheduleType) Sets the type of ad schedule.
-
Constructor Details
-
Builder
public Builder()Creates a new Builder instance.
-
-
Method Details
-
scheduleType
Sets the type of ad schedule.- Parameters:
scheduleType- The type of ad schedule.- Returns:
- the Builder
-
get
Builds and returns an instance ofAdSchedule.- Returns:
- an instance of
AdSchedule
-