Preparing search index...
The search index is not available
Octra libraries - v2.0.0
Octra libraries
@octra/web-media
AudioResource
ClassAudioResource
Hierarchy
MediaResource
AudioResource
Index
Constructors
constructor
Accessors
arraybuffer
extension
info
name
size
url
Methods
getOAudio
File
Constructors
constructor
new
Audio
Resource
(
fullname
,
source
,
info
,
buffer
?
,
size
?
,
url
?
)
:
AudioResource
Parameters
fullname
:
string
source
:
SourceType
info
:
AudioInfo
Optional
buffer
:
ArrayBuffer
Optional
size
:
number
Optional
url
:
string
Returns
AudioResource
Accessors
arraybuffer
get
arraybuffer
(
)
:
undefined
|
ArrayBuffer
Returns
undefined
|
ArrayBuffer
set
arraybuffer
(
value
)
:
void
Parameters
value
:
undefined
|
ArrayBuffer
Returns
void
extension
get
extension
(
)
:
string
Returns
string
info
get
info
(
)
:
AudioInfo
Returns
AudioInfo
set
info
(
value
)
:
void
Parameters
value
:
AudioInfo
Returns
void
name
get
name
(
)
:
string
Returns
string
size
get
size
(
)
:
undefined
|
number
Returns
undefined
|
number
url
get
url
(
)
:
undefined
|
string
Returns
undefined
|
string
Methods
getOAudio
File
getOAudio
File
(
)
:
OAudiofile
Returns
OAudiofile
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
arraybuffer
extension
info
name
size
url
Methods
getOAudio
File
Octra libraries - v2.0.0
Loading...