new Twilio.Sync.Client()
Properties:
Name | Type | Description |
---|---|---|
connectionState |
Client#connectionState | Connection state info |
Members
-
<readonly> version :String
-
Current version of Sync client.
Type:
- String
Type Definitions
-
ClientOptions
-
These options can be passed to Client constructor
Type:
- Object
Properties:
Name Type Argument Default Description logLevel
String <optional>
'error' The level of logging to enable. Valid options (from strictest to broadest): ['silent', 'error', 'warn', 'info', 'debug', 'trace']
Events
-
connectionStateChanged
-
Fired when connection state has been changed.
Parameters:
Name Type Description ConnectionState
Client#connectionState