Request Config
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
Content copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
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
Content copied to clipboard
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