Preparing search index...
The search index is not available
GamePush SDK Typed Documentation
GamePush SDK Typed Documentation
Segments
Class Segments
Hierarchy (
view full
)
EventEmitter
<
SegmentsEvents
>
Segments
Index
Constructors
constructor
Properties
#segments
#sync
Manager
_events
gp
Accessors
list
Methods
#set
Segments
has
off
on
once
Constructors
constructor
new
Segments
(
gp
,
syncManager
)
:
Segments
Parameters
gp
:
CoreSDK
syncManager
:
SyncManager
Returns
Segments
Properties
Private
#segments
#segments
:
string
[]
= []
Private
#sync
Manager
#sync
Manager
:
SyncManager
Private
_events
_events
:
EventLite
= ...
Private
gp
gp
:
CoreSDK
Accessors
list
get
list
(
)
:
string
[]
Returns
string
[]
Methods
Private
#set
Segments
#set
Segments
(
segments
,
enterSegments
,
leftSegments
)
:
void
Parameters
segments
:
string
[]
enterSegments
:
string
[]
leftSegments
:
string
[]
Returns
void
has
has
(
tag
)
:
boolean
Parameters
tag
:
string
Returns
boolean
off
off
<
ET
>
(
type
,
handler
)
:
void
Type Parameters
ET
extends
keyof
SegmentsEvents
Parameters
type
:
ET
handler
:
(
(
event
,
...
args
)
=>
void
)
(
event
,
...
args
)
:
void
Parameters
event
:
SegmentsEvents
[
ET
]
Rest
...
args
:
any
Returns
void
Returns
void
on
on
<
ET
>
(
type
,
handler
)
:
void
Type Parameters
ET
extends
keyof
SegmentsEvents
Parameters
type
:
ET
handler
:
(
(
event
,
...
args
)
=>
void
)
(
event
,
...
args
)
:
void
Parameters
event
:
SegmentsEvents
[
ET
]
Rest
...
args
:
any
Returns
void
Returns
void
once
once
<
ET
>
(
type
,
handler
)
:
void
Type Parameters
ET
extends
keyof
SegmentsEvents
Parameters
type
:
ET
handler
:
(
(
event
,
...
args
)
=>
void
)
(
event
,
...
args
)
:
void
Parameters
event
:
SegmentsEvents
[
ET
]
Rest
...
args
:
any
Returns
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Alpha
Beta
Theme
OS
Light
Dark
On This Page
constructor
#segments
#sync
Manager
_events
gp
list
#set
Segments
has
off
on
once
GamePush SDK Typed Documentation
Loading...