deviceRegistrationEndpoint static method
Get the device registration endpoint for the given environment.
Implementation
static APIEndpoint deviceRegistrationEndpoint(SDKEnvironment environment) {
switch (environment) {
case SDKEnvironment.development:
return APIEndpoint.devDeviceRegistration;
case SDKEnvironment.staging:
case SDKEnvironment.production:
return APIEndpoint.deviceRegistration;
}
}