Package com.batch.android.query
Class PushQuery
- java.lang.Object
-
- com.batch.android.query.Query
-
- com.batch.android.query.PushQuery
-
public class PushQuery extends Query
Query to send pushtoken to server
-
-
Constructor Summary
Constructors Constructor Description PushQuery(android.content.Context context, Registration registration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSONObjecttoJSON()Serialize this query to json
Child would typicaly extends this method to provide extra data-
Methods inherited from class com.batch.android.query.Query
getContext, getID, getType
-
-
-
-
Constructor Detail
-
PushQuery
public PushQuery(android.content.Context context, Registration registration)
-
-
Method Detail
-
toJSON
public JSONObject toJSON() throws JSONException
Description copied from class:QuerySerialize this query to json
Child would typicaly extends this method to provide extra data- Overrides:
toJSONin classQuery- Returns:
- Throws:
JSONException
-
-