FlyAroundOptions

public class FlyAroundOptions implements Parcelable


Represents the camera preset, fly around, in a 3D map.

Summary

Constants

static final Parcelable.Creator<FlyAroundOptions>

Public fields

Camera
long
double

Public constructors

FlyAroundOptions(Camera center, long durationInMillis, double rounds)

Constructor for FlyAroundOptions with parameters for required fields.

Public methods

Camera

The center of the camera.

long

The duration of the fly around animation in milliseconds.

double

The number of times the fly around animation should be played.

void
setCenter(Camera center)

Sets the center of the camera.

void
setDurationInMillis(long durationInMillis)

Sets the duration of the fly around animation in milliseconds.

void
setRounds(double rounds)

Sets the number of times the fly around animation should be played.

void
writeToParcel(Parcel dest, int flags)

Extension functions

final void

Validates a specified FlyAroundOptions object.

Inherited Constants

From android.os.Parcelable
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int

Constants

CREATOR

public static final Parcelable.Creator<FlyAroundOptionsCREATOR

Public fields

center

public Camera center

durationInMillis

public long durationInMillis

rounds

public double rounds

Public constructors

FlyAroundOptions

public FlyAroundOptions(Camera center, long durationInMillis, double rounds)

Constructor for FlyAroundOptions with parameters for required fields.

Parameters
Camera center

The center of the camera.

long durationInMillis

The duration of the fly around animation in milliseconds.

double rounds

The number of times the fly around animation should be played.

Public methods

getCenter

public Camera getCenter()

The center of the camera.

getDurationInMillis

public long getDurationInMillis()

The duration of the fly around animation in milliseconds.

getRounds

public double getRounds()

The number of times the fly around animation should be played.

setCenter

public void setCenter(Camera center)

Sets the center of the camera.

setDurationInMillis

public void setDurationInMillis(long durationInMillis)

Sets the duration of the fly around animation in milliseconds.

setRounds

public void setRounds(double rounds)

Sets the number of times the fly around animation should be played.

writeToParcel

public void writeToParcel(Parcel dest, int flags)

Extension functions

ValidatorsKt.validate

public final void ValidatorsKt.validate(@NonNull FlyAroundOptions receiver)

Validates a specified FlyAroundOptions object.