SOSAgentAvailabilityDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SOSAgentAvailability.h |
Overview
Delegate protocol for SOSAgentAvailability
.
Implement this protocol in your classes to listen for availability change events from the SOSAgentAvailability
class.
– agentAvailability:didChange:
Delegate method invoked when the SOSAgentAvailability
status has changed.
- (void)agentAvailability:(__weak id)agentAvailability didChange:(SOSAgentAvailabilityStatusType)availabilityStatus
Parameters
agentAvailability |
The |
---|---|
availabilityStatus |
The current |
Declared In
SOSAgentAvailability.h
– agentAvailability:didError:
Delegate method invoked when the SOSAgentAvailability
polling has returned an error.
- (void)agentAvailability:(__weak id)agentAvailability didError:(NSError *)error
Parameters
agentAvailability |
|
---|---|
error |
|
Declared In
SOSAgentAvailability.h