toggle menu
RootEncoder
androidJvm
switch theme
search in API
rtmp
/
com.pedro.rtmp.amf.v3
/
Amf3Dictionary
Amf3Dictionary
class
Amf3Dictionary
(
properties
:
HashMap
<
Amf3String
,
Amf3Data
>
=
LinkedHashMap()
)
:
Amf3Object
Created by pedro on 29/04/21.
Members
Constructors
Amf3Dictionary
Link copied to clipboard
constructor
(
properties
:
HashMap
<
Amf3String
,
Amf3Data
>
=
LinkedHashMap()
)
Functions
get
Property
Link copied to clipboard
fun
getProperty
(
name
:
String
)
:
Amf3Data
?
get
Size
Link copied to clipboard
open
override
fun
getSize
(
)
:
Int
get
Type
Link copied to clipboard
open
override
fun
getType
(
)
:
Amf3Type
read
Body
Link copied to clipboard
open
override
fun
readBody
(
input
:
InputStream
)
read
Header
Link copied to clipboard
fun
readHeader
(
input
:
InputStream
)
:
Amf3Type
set
Property
Link copied to clipboard
open
fun
setProperty
(
name
:
String
)
open
fun
setProperty
(
name
:
String
,
data
:
Amf3Data
)
open
fun
setProperty
(
name
:
String
,
data
:
Boolean
)
open
fun
setProperty
(
name
:
String
,
data
:
Double
)
open
fun
setProperty
(
name
:
String
,
data
:
String
)
write
Body
Link copied to clipboard
open
override
fun
writeBody
(
output
:
OutputStream
)
write
Header
Link copied to clipboard
fun
writeHeader
(
output
:
OutputStream
)