StreetViewPanoramaOrientation.Builder

public static final class StreetViewPanoramaOrientation.Builder extends Object

Builds Street View panorama orientations.

Field Summary

public float bearing
public float tilt

Public Constructor Summary

Builder()
Creates an empty builder.
Builder(StreetViewPanoramaOrientation previous)
Creates a builder with an existing StreetViewPanoramaOrientation.

Public Method Summary

StreetViewPanoramaOrientation.Builder
bearing(float bearing)
Sets the direction of the orientation, in degrees clockwise from north.
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).

Inherited Method Summary

Fields

public float bearing

public float tilt

Public Constructors

public Builder ()

Creates an empty builder.

public Builder (StreetViewPanoramaOrientation previous)

Creates a builder with an existing StreetViewPanoramaOrientation.

Parameters
previous The existing orientation to initialize the builder with. Must not be null.

Public Methods

public StreetViewPanoramaOrientation.Builder bearing (float bearing)

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

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