RequestConfig

open class RequestConfig

Created by ravi on 6/26/18.

Functions

Link copied to clipboard
open fun createPostCustomEventsRequest(    @NonNull tag: String,     @NonNull url: String,     deviceId: String,     @NonNull events: List<Geotag>,     @NonNull gson: Gson,     @NonNull responseListener: Response.Listener<JsonObject>,     @NonNull errorListener: Response.ErrorListener): RequestConfig
Link copied to clipboard
open fun createRegisterDeviceRequest(    @NonNull tag: String,     @NonNull urlBase: String,     deviceId: String,     @NonNull deviceInfo: DeviceInfo,     @NonNull mResponseListener: Response.Listener<JsonObject>,     @NonNull errorListener: Response.ErrorListener): RequestConfig
Link copied to clipboard
open fun createRequestConfig(    @NonNull tag: String,     @NonNull url: String,     deviceId: String,     @NonNull events: List<Event>,     @NonNull mResponseListener: Response.Listener<JsonObject>,     @NonNull errorListener: Response.ErrorListener,     @NonNull gson: Gson): RequestConfig
Link copied to clipboard
open fun createSyncDeviceRequest(    @NonNull tag: String,     @NonNull urlBase: String,     @NonNull mResponseListener: Response.Listener<JsonObject>,     @NonNull errorListener: Response.ErrorListener,     @Nullable availabilityRegistration: AvailabilityRegistration): RequestConfig
When SDK tries to make a device-settings API call to platform and the AvailabilityRegister.timestamp is 0, it makes the request as usual: GET /device-settings with no payload.
Link copied to clipboard
open fun getListener(): Response.Listener<JsonObject>
Link copied to clipboard
open fun getTag(): String
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
private val url: String