public class BackgroundServiceEvent extends Object
| Constructor and Description |
|---|
BackgroundServiceEvent() |
| Modifier and Type | Method and Description |
|---|---|
List<EventMetadata> |
getEventMetadata()
A list of event-specific information.
|
String |
getEventName()
A description of the event.
|
String |
getInstanceId()
An identifier that groups related events together.
|
String |
getOrigin()
The origin this event belongs to.
|
ServiceName |
getService()
The Background Service this event belongs to.
|
String |
getServiceWorkerRegistrationId()
The Service Worker ID that initiated the event.
|
Double |
getTimestamp()
Timestamp of the event (in seconds).
|
void |
setEventMetadata(List<EventMetadata> eventMetadata)
A list of event-specific information.
|
void |
setEventName(String eventName)
A description of the event.
|
void |
setInstanceId(String instanceId)
An identifier that groups related events together.
|
void |
setOrigin(String origin)
The origin this event belongs to.
|
void |
setService(ServiceName service)
The Background Service this event belongs to.
|
void |
setServiceWorkerRegistrationId(String serviceWorkerRegistrationId)
The Service Worker ID that initiated the event.
|
void |
setTimestamp(Double timestamp)
Timestamp of the event (in seconds).
|
public Double getTimestamp()
public void setTimestamp(Double timestamp)
public String getOrigin()
public void setOrigin(String origin)
public String getServiceWorkerRegistrationId()
public void setServiceWorkerRegistrationId(String serviceWorkerRegistrationId)
public ServiceName getService()
public void setService(ServiceName service)
public String getEventName()
public void setEventName(String eventName)
public String getInstanceId()
public void setInstanceId(String instanceId)
public List<EventMetadata> getEventMetadata()
public void setEventMetadata(List<EventMetadata> eventMetadata)
Copyright © 2020. All rights reserved.