TwilioSyncClientDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TwilioSyncClient.h |
– syncClient:connectionStateChanged:
Called when the client connection state changes.
- (void)syncClient:(nonnull TwilioSyncClient *)client connectionStateChanged:(TWSClientConnectionState)state
Parameters
client |
The sync client. |
---|---|
state |
The current connection state of the client. |
Discussion
Called when the client connection state changes.
Declared In
TwilioSyncClient.h
– syncClient:errorReceived:
Called when an error occurs.
- (void)syncClient:(nonnull TwilioSyncClient *)client errorReceived:(nonnull TWSError *)error
Parameters
client |
The sync client. |
---|---|
error |
The error. |
Discussion
Called when an error occurs.
Declared In
TwilioSyncClient.h