public class

ActionSchedule

extends Object
implements Parcelable Schedule<T extends ScheduleInfo>
java.lang.Object
   ↳ com.urbanairship.automation.ActionSchedule

Class Overview

Defines an action schedule.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
ActionSchedule(String id, JsonMap metadata, ActionScheduleInfo info)
Class constructor.
Public Methods
int describeContents()
String getId()
Get the schedule's ID.
ActionScheduleInfo getInfo()
Gets the schedule's info.
JsonMap getMetadata()
Gets the schedule's metadata.
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable
From interface com.urbanairship.automation.Schedule

Public Constructors

public ActionSchedule (String id, JsonMap metadata, ActionScheduleInfo info)

Class constructor.

Parameters
id The schedule ID.
metadata The metadata.
info The ActionScheduleInfo instance.

Public Methods

public int describeContents ()

public String getId ()

Get the schedule's ID.

Returns
  • The schedule's ID.

public ActionScheduleInfo getInfo ()

Gets the schedule's info.

Returns
  • The schedule's info.

public JsonMap getMetadata ()

Gets the schedule's metadata.

Returns
  • The schedule's metadata.

public void writeToParcel (Parcel dest, int flags)