StreetViewPanoramaOrientation.Builder | 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: Fields | Ctors | Methods | Inherited Methods | [Expand All]
public static final class

# StreetViewPanoramaOrientation.Builder

extends Object

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

## Class Overview

Builds Street View panorama orientations.

## Summary

Fields
public float | bearing |
public float | tilt |

Public Constructors
| StreetViewPanoramaOrientation.Builder() Creates an empty builder.
| StreetViewPanoramaOrientation.Builder(StreetViewPanoramaOrientation previous)

Public Methods
StreetViewPanoramaOrientation.Builder | bearing(float bearing) Sets the direction of the orientation, in degrees clockwise from north.
StreetViewPanoramaOrientation | build() Builds a `StreetViewPanoramaOrientation`.
StreetViewPanoramaOrientation.Builder | tilt(float tilt) Sets the angle, in degrees, of the orientation This value is restricted to being between -90 (directly down) and 90 (directly up).

[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)

## Fields

#### public float bearing

#### public float tilt

## Public Constructors

#### public StreetViewPanoramaOrientation.Builder ()

Creates an empty builder.

#### public StreetViewPanoramaOrientation.Builder (StreetViewPanoramaOrientation previous)

## Public Methods

#### public StreetViewPanoramaOrientation.Builder bearing (float bearing)

Sets the direction of the orientation, in degrees clockwise from north.

#### public StreetViewPanoramaOrientation build ()

Builds a `StreetViewPanoramaOrientation`.

#### public StreetViewPanoramaOrientation.Builder tilt (float tilt)

Sets the angle, in degrees, of the orientation This value is restricted to being between -90 (directly down) and 90 (directly up).