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

Added in 1.4.0-rc02
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

Added in 1.4.0-rc02
public int hashCode()

toString

Added in 1.4.0-rc02
public @NonNull String toString()