IndoorLevel | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Methods | Inherited Methods | [Expand All]
public final class

# IndoorLevel

extends Object

java.lang.Object
↳ | com.google.android.gms.maps.model.IndoorLevel

## Class Overview

Represents a level in a building.

IndoorLevel objects are only equal by id. It is possible that may have different contents.

While a level is usually enclosed by a single building, a level might be enclosed by several buildings (e.g., a carpark level might span multiple buildings).

## Summary

Public Methods
void | activate() Sets this level as the visible level in its building.
boolean | equals(Object other)
String | getName() Localized display name for the level, e.g.
String | getShortName() Localized short display name for the level, e.g.
int | hashCode()

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)

## Public Methods

#### public void activate ()

Sets this level as the visible level in its building. If a level is enclosed in several buildings, then all those buildings will have this level set as active.

#### public boolean equals (Object other)

#### public String getName ()

Localized display name for the level, e.g. "Ground floor". Returns an empty string if no name is defined.

#### public String getShortName ()

Localized short display name for the level, e.g. "1". Returns an empty string if no shortName is defined.

#### public int hashCode ()