Preparing search index...
The search index is not available
@polyvharmony/harmony-media-player
@polyvharmony/harmony-media-player
sdk_foundation/Index
DerivedState
Class DerivedState<V>
Type Parameters
V
Hierarchy (
view full
)
State
<
V
>
DerivedState
Index
Constructors
constructor
Properties
_value
auto
Active
computation
observers
producer
Observers
producers
Accessors
is
Active
value
Methods
destroy
dispose
dispose
All
get
Value
Internal
observe
on
Access
Producer
relay
To
update
Active
State
update
Value
Constructors
constructor
new
Derived
State
<
V
>
(
computation
)
:
DerivedState
<
V
>
Type Parameters
V
Parameters
computation
:
(
(
)
=>
V
)
(
)
:
V
Returns
V
Returns
DerivedState
<
V
>
Properties
Protected
_value
_value
:
undefined
|
V
Private
Readonly
auto
Active
auto
Active
:
true
= true
Private
Readonly
computation
computation
:
(
(
)
=>
V
)
Type declaration
(
)
:
V
Returns
V
Protected
observers
observers
:
MutableObserver
[]
= []
Private
Readonly
producer
Observers
producer
Observers
:
MutableObserver
[]
= []
Private
Readonly
producers
producers
:
Set
<
State
<
any
>
>
= ...
Accessors
Private
is
Active
get
isActive
(
)
:
boolean
Returns
boolean
value
get
value
(
)
:
undefined
|
V
Returns
undefined
|
V
Methods
destroy
destroy
(
)
:
void
Returns
void
dispose
dispose
(
observer
)
:
void
Parameters
observer
:
MutableObserver
Returns
void
dispose
All
dispose
All
(
)
:
MutableObserver
[]
Returns
MutableObserver
[]
Protected
get
Value
Internal
get
Value
Internal
(
)
:
undefined
|
V
Returns
undefined
|
V
observe
observe
(
observer
)
:
MutableObserver
Parameters
observer
:
(
(
value
)
=>
void
)
(
value
)
:
void
Parameters
value
:
V
Returns
void
Returns
MutableObserver
Private
on
Access
Producer
on
Access
Producer
(
producer
)
:
void
Parameters
producer
:
State
<
any
>
Returns
void
relay
To
relay
To
(
target
)
:
MutableObserver
Parameters
target
:
MutableState
<
V
>
Returns
MutableObserver
Private
update
Active
State
update
Active
State
(
refreshValue
?
)
:
void
Parameters
refreshValue
:
boolean
= true
Returns
void
Private
update
Value
update
Value
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_value
auto
Active
computation
observers
producer
Observers
producers
is
Active
value
destroy
dispose
dispose
All
get
Value
Internal
observe
on
Access
Producer
relay
To
update
Active
State
update
Value
@polyvharmony/harmony-media-player
Loading...