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
deviceTokenThe token of the device to be registered
deviceIDThe device ID to be registered
completionThe closure to be executed once the request has finished
View on GitHub
DevicesAPI Enumeration Reference