-
Notifications
You must be signed in to change notification settings - Fork 5
CTStateGetRequest
Requests whether contact tracing is on or off on the device.
open class CTStateGetRequest: NSObject
NSObject
This property holds the completion handler that framework invokes when the request completes. The property is cleared upon completion to break any potential retain cycles.
var completionHandler: CTErrorHandler?
This property holds the the dispatch queue used to invoke handlers on. If this property isn't set, the framework uses the main queue.
var dispatchQueue: DispatchQueue?
This property contains the snapshot of the state when the request was performed. It's valid only after the framework invokes the completion handler.
var state: Int32
Asynchronously performs the request to get the state, and invokes the completion handler when it's done.
open func perform()
Invalidates a previously initiated request. If there is an outstanding completion handler, the framework will invoke it with an error. Don't reuse the request after this is called. If you require another request, create a new one.
open func invalidate()
Generated at 2020-04-11T10:13:48+0000 using swift-doc.