@realsee/vr-signals API Documentation - v2.0.0
Preparing search index...
StandardConnectionManager
Interface StandardConnectionManager
标准的连接管理器
interface
StandardConnectionManager
{
getConnectionStatus
()
:
ConnectionStatus
;
isConnected
()
:
boolean
;
isConnecting
()
:
boolean
;
hasError
()
:
boolean
;
connect
()
:
Promise
<
void
>
;
disconnect
()
:
void
;
reconnect
()
:
Promise
<
void
>
;
onConnectionStatusChange
(
callback
:
(
status
:
ConnectionStatus
)
=>
void
,
)
:
()
=>
void
;
onReady
(
callback
:
()
=>
void
)
:
void
;
onError
(
callback
:
(
error
:
Error
)
=>
void
)
:
()
=>
void
;
}
Index
Methods
get
Connection
Status
is
Connected
is
Connecting
has
Error
connect
disconnect
reconnect
on
Connection
Status
Change
on
Ready
on
Error
Methods
get
Connection
Status
getConnectionStatus
()
:
ConnectionStatus
Returns
ConnectionStatus
is
Connected
isConnected
()
:
boolean
Returns
boolean
is
Connecting
isConnecting
()
:
boolean
Returns
boolean
has
Error
hasError
()
:
boolean
Returns
boolean
connect
connect
()
:
Promise
<
void
>
Returns
Promise
<
void
>
disconnect
disconnect
()
:
void
Returns
void
reconnect
reconnect
()
:
Promise
<
void
>
Returns
Promise
<
void
>
on
Connection
Status
Change
onConnectionStatusChange
(
callback
:
(
status
:
ConnectionStatus
)
=>
void
,
)
:
()
=>
void
Parameters
callback
:
(
status
:
ConnectionStatus
)
=>
void
Returns
()
=>
void
on
Ready
onReady
(
callback
:
()
=>
void
)
:
void
Parameters
callback
:
()
=>
void
Returns
void
on
Error
onError
(
callback
:
(
error
:
Error
)
=>
void
)
:
()
=>
void
Parameters
callback
:
(
error
:
Error
)
=>
void
Returns
()
=>
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
get
Connection
Status
is
Connected
is
Connecting
has
Error
connect
disconnect
reconnect
on
Connection
Status
Change
on
Ready
on
Error
@realsee/vr-signals API Documentation - v2.0.0
Loading...
标准的连接管理器