public class Segment extends Object
| Constructor and Description |
|---|
Segment(org.json.JSONObject jsonObject)
Formats a segment/rule object.
|
public Segment(org.json.JSONObject jsonObject)
throws org.json.JSONException
jsonObject - a payload of the segment returned via Connecto.
NaN and negative/positive infinity will throw an IllegalArgumentExceptionorg.json.JSONException - if the jsonObject does not contain the required properties.Copyright © 2015. All rights reserved.