Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

NavigationState.ServiceStatus

public static final enum NavigationState.ServiceStatus
extends Enum<NavigationState.ServiceStatus>

java.lang.Object
   ↳ java.lang.Enum<androidx.car.cluster.navigation.NavigationState.ServiceStatus>
     ↳ androidx.car.cluster.navigation.NavigationState.ServiceStatus


Possible service states

Summary

Enum values

NavigationState.ServiceStatus  NORMAL

Default service status, indicating that navigation state data is valid and up-to-date. 

NavigationState.ServiceStatus  REROUTING

New navigation information is being fetched, and an updated navigation state will be provided soon. 

Public methods

static NavigationState.ServiceStatus valueOf(String name)
static final ServiceStatus[] values()

Inherited methods

Enum values

NORMAL

public static final NavigationState.ServiceStatus NORMAL

Default service status, indicating that navigation state data is valid and up-to-date.

REROUTING

public static final NavigationState.ServiceStatus REROUTING

New navigation information is being fetched, and an updated navigation state will be provided soon. Consumers can use this signal to display a progress indicator to the user.

Public methods

valueOf

public static NavigationState.ServiceStatus valueOf (String name)

Parameters
name String

Returns
NavigationState.ServiceStatus

values

public static final ServiceStatus[] values ()

Returns
ServiceStatus[]