CarHardwareLocation


@CarProtocol
@RequiresCarApi(value = 3)
public final class CarHardwareLocation


Information about car specific car location available from the car hardware.

Summary

Public constructors

Creates an CarHardwareLocation with the given raw data.

Public methods

boolean
@NonNull CarValue<Location>

Returns the raw location data from the car sensor.

int
@NonNull String

Public constructors

CarHardwareLocation

Added in 1.1.0
public CarHardwareLocation(@NonNull CarValue<Location> location)

Creates an CarHardwareLocation with the given raw data.

Throws
java.lang.NullPointerException

if location is null

Public methods

equals

public boolean equals(@Nullable Object other)

getLocation

Added in 1.1.0
public @NonNull CarValue<LocationgetLocation()

Returns the raw location data from the car sensor.

hashCode

public int hashCode()

toString

public @NonNull String toString()