PlaceMarker

public class PlaceMarker
extends Object

java.lang.Object
   ↳ com.google.android.libraries.car.app.model.PlaceMarker


Describes how a place is to be displayed on a map.

Summary

Nested classes

class PlaceMarker.Builder

A builder of PlaceMarker

Constants

int TYPE_ICON

Represents a marker icon.

int TYPE_IMAGE

Represents a marker image.

Public methods

static PlaceMarker.Builder builder()
boolean equals(Object other)
static PlaceMarker getDefault()

Returns an instance of PlaceMarker that uses the default values of the attributes specified through a PlaceMarker.Builder.

int hashCode()
String toString()

Inherited methods

Constants

TYPE_ICON

public static final int TYPE_ICON

Represents a marker icon.

Icons always have a tint applied to them.

Constant Value: 0 (0x00000000)

TYPE_IMAGE

public static final int TYPE_IMAGE

Represents a marker image.

No background will be applied.

Constant Value: 1 (0x00000001)

Public methods

builder

public static PlaceMarker.Builder builder ()

Returns
PlaceMarker.Builder

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

getDefault

public static PlaceMarker getDefault ()

Returns an instance of PlaceMarker that uses the default values of the attributes specified through a PlaceMarker.Builder.

Returns
PlaceMarker

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String