hypertrack-sdk
hypertrack-sdk
/
com.hypertrack.sdk.models
/
EventFactory
Event
Factory
open
class
EventFactory
Content copied to clipboard
Functions
Functions
get
Health
Event
Link copied to clipboard
@
NonNull
open
fun
getHealthEvent
(
l1Event
:
L1Event
)
:
Event
Content copied to clipboard
@
NonNull
open
fun
getHealthEvent
(
eventName
:
String
,
@
Nullable
hint
:
String
)
:
Event
Content copied to clipboard
Creator for events of health type.
get
Health
Event
For
Time
Link copied to clipboard
open
fun
getHealthEventForTime
(
eventName
:
String
,
@
Nullable
hint
:
String
,
unixTimestamp
:
Long
)
:
Event
Content copied to clipboard
open
fun
getHealthEventForTime
(
eventName
:
String
,
unixTimestamp
:
Long
,
@
Nullable
hint
:
String
,
@
Nullable
description
:
String
)
:
Event
Content copied to clipboard