public static class

InAppMessageScheduleEdits.Builder

extends Object
java.lang.Object
   ↳ com.urbanairship.iam.InAppMessageScheduleEdits.Builder

Class Overview

InAppMessageScheduleEdits builder.

Summary

Public Methods
InAppMessageScheduleEdits build()
Builds the in-app message schedule edits.
InAppMessageScheduleEdits.Builder setEditGracePeriod(long duration, TimeUnit timeUnit)
Sets the edit grace period after a schedule expires or finishes.
InAppMessageScheduleEdits.Builder setEnd(long end)
Sets the end time in ms.
InAppMessageScheduleEdits.Builder setInterval(long duration, TimeUnit timeUnit)
Sets the display interval.
InAppMessageScheduleEdits.Builder setLimit(int limit)
Sets the display limit.
InAppMessageScheduleEdits.Builder setMessage(InAppMessage message)
Sets the in-app message.
InAppMessageScheduleEdits.Builder setPriority(int priority)
Sets the priority level, in ascending order.
InAppMessageScheduleEdits.Builder setStart(long start)
Sets the start time in ms.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public InAppMessageScheduleEdits build ()

Builds the in-app message schedule edits.

Returns
  • The schedule edits.

public InAppMessageScheduleEdits.Builder setEditGracePeriod (long duration, TimeUnit timeUnit)

Sets the edit grace period after a schedule expires or finishes.

Parameters
duration The grace period.
timeUnit The time unit.
Returns
  • The Builder instance.

public InAppMessageScheduleEdits.Builder setEnd (long end)

Sets the end time in ms.

Parameters
end The end time in ms.
Returns
  • The Builder instance.

public InAppMessageScheduleEdits.Builder setInterval (long duration, TimeUnit timeUnit)

Sets the display interval.

Parameters
duration The interval.
timeUnit The time unit.
Returns
  • The Builder instance.

public InAppMessageScheduleEdits.Builder setLimit (int limit)

Sets the display limit.

Parameters
limit The display limit.
Returns
  • The builder instance.

public InAppMessageScheduleEdits.Builder setMessage (InAppMessage message)

Sets the in-app message.

Parameters
message The in-app message.
Returns
  • The builder instance.

public InAppMessageScheduleEdits.Builder setPriority (int priority)

Sets the priority level, in ascending order.

Parameters
priority The priority level.
Returns
  • The Builder instance.

public InAppMessageScheduleEdits.Builder setStart (long start)

Sets the start time in ms.

Parameters
start The start time in ms.
Returns
  • The Builder instance.