@Beta
public interface UsageListener
Modifier and Type | Interface and Description |
---|---|
static interface |
UsageListener.ApplicationMetadata
Users should never implement this interface directly; methods may be added in future releases
without notice.
|
static class |
UsageListener.BasicUsageListener
A no-op implementation of
UsageListener , for users to extend. |
static interface |
UsageListener.LocationMetadata
Users should never implement this interface directly; methods may be added in future releases
without notice.
|
Modifier and Type | Field and Description |
---|---|
static UsageListener |
NOOP |
Modifier and Type | Method and Description |
---|---|
void |
onApplicationEvent(UsageListener.ApplicationMetadata app,
ApplicationUsage.ApplicationEvent event) |
void |
onLocationEvent(UsageListener.LocationMetadata loc,
LocationUsage.LocationEvent event) |
static final UsageListener NOOP
@Beta void onApplicationEvent(UsageListener.ApplicationMetadata app, ApplicationUsage.ApplicationEvent event)
@Beta void onLocationEvent(UsageListener.LocationMetadata loc, LocationUsage.LocationEvent event)