DevicesAPI
public enum DevicesAPI
Caseless enumeration with static methods to send Devices Requests
-
Sends a request to register a device
Declaration
Swift
public static func registerDevice(deviceToken: String, deviceID: String, completion: ResponseCompletion<Bool> = nil)
Parameters
deviceToken
The token of the device to be registered
deviceID
The device ID to be registered
completion
The closure to be executed once the request has finished