toggle menu
HaishinKit
androidJvm
switch theme
search in API
compose
/
com.haishinkit.compose
/
ConnectionState
Connection
State
@
Stable
class
ConnectionState
(
connection
:
RtmpConnection
)
:
IEventDispatcher
Members
Constructors
Connection
State
Link copied to clipboard
constructor
(
connection
:
RtmpConnection
)
Properties
is
Connected
Link copied to clipboard
var
isConnected
:
Boolean
Functions
add
Event
Listener
Link copied to clipboard
open
override
fun
addEventListener
(
type
:
String
,
listener
:
IEventListener
,
useCapture
:
Boolean
)
open
fun
addEventListener
(
type
:
String
,
listener
:
IEventListener
)
close
Link copied to clipboard
fun
close
(
)
connect
Link copied to clipboard
fun
connect
(
command
:
String
,
vararg
arguments
:
Any
?
)
create
Stream
Link copied to clipboard
fun
createStream
(
context
:
Context
)
:
RtmpStream
dispatch
Event
Link copied to clipboard
open
override
fun
dispatchEvent
(
event
:
Event
)
dispatch
Event
With
Link copied to clipboard
open
override
fun
dispatchEventWith
(
type
:
String
,
bubbles
:
Boolean
,
data
:
Any
?
)
open
fun
dispatchEventWith
(
type
:
String
)
open
fun
dispatchEventWith
(
type
:
String
,
bubbles
:
Boolean
)
dispose
Link copied to clipboard
fun
dispose
(
)
remove
Event
Listener
Link copied to clipboard
open
override
fun
removeEventListener
(
type
:
String
,
listener
:
IEventListener
,
useCapture
:
Boolean
)
open
fun
removeEventListener
(
type
:
String
,
listener
:
IEventListener
)