ValidatorsKt

public final class ValidatorsKt


Summary

Public methods

static final void
validate(@NonNull Camera receiver)

Validates a specified Camera object.

static final void

Validates a specified CameraRestriction object.

static final void

Validates a specified FlyAroundOptions object.

static final void

Validates a specified FlyToOptions object.

static final void
validate(@NonNull Hole receiver)

Validates that the given Hole is correct.

static final void

Validates that the given LatLngAltitude is correct.

static final void

Validates a specified LatLngBounds object properties.

static final void

Validates a specified Map3DOptions objects.

static final void

Validates a specified MarkerOptions object.

static final void

Validates a specified ModelOptions object.

static final void

Validates a specified Orientation object properties: heading, tilt, and roll.

static final void

Validates a specified PolygonOptions object.

static final void

Validates a specified PolylineOptions object.

static final void

Validates a specified Vector3D object properties: x, y, and z to be finite values.

static final void

Validates a specified Orientation object properties: heading, tilt, and roll for model.

Public methods

validate

public static final void validate(@NonNull Camera receiver)

Validates a specified Camera object.

Throws
java.lang.IllegalArgumentException

If the Camera is not valid.

validate

public static final void validate(@NonNull CameraRestriction receiver)

Validates a specified CameraRestriction object.

validate

public static final void validate(@NonNull FlyAroundOptions receiver)

Validates a specified FlyAroundOptions object.

validate

public static final void validate(@NonNull FlyToOptions receiver)

Validates a specified FlyToOptions object.

Throws
java.lang.IllegalArgumentException

If the FlyToOptions is not valid.

validate

public static final void validate(@NonNull Hole receiver)

Validates that the given Hole is correct.

Throws
java.lang.IllegalArgumentException

If the Hole is not valid.

validate

public static final void validate(@NonNull LatLngAltitude receiver)

Validates that the given LatLngAltitude is correct.

validate

public static final void validate(@NonNull LatLngBounds receiver)

Validates a specified LatLngBounds object properties.

Throws
java.lang.IllegalArgumentException

If any of the properties in the LatLngBounds is not valid.

validate

public static final void validate(@NonNull Map3DOptions receiver)

Validates a specified Map3DOptions objects.

Throws
java.lang.IllegalArgumentException

If the Map3DOptions is not valid.

validate

public static final void validate(@NonNull MarkerOptions receiver)

Validates a specified MarkerOptions object.

validate

public static final void validate(@NonNull ModelOptions receiver)

Validates a specified ModelOptions object.

Throws
java.lang.IllegalArgumentException

If the ModelOptions is not valid.

validate

public static final void validate(@NonNull Orientation receiver)

Validates a specified Orientation object properties: heading, tilt, and roll.

Throws
java.lang.IllegalArgumentException

If the Orientation is not valid.

validate

public static final void validate(@NonNull PolygonOptions receiver)

Validates a specified PolygonOptions object.

validate

public static final void validate(@NonNull PolylineOptions receiver)

Validates a specified PolylineOptions object.

validate

public static final void validate(@NonNull Vector3D receiver)

Validates a specified Vector3D object properties: x, y, and z to be finite values.

Throws
java.lang.IllegalArgumentException

If the Vector3D is not valid.

validateForModel

public static final void validateForModel(@NonNull Orientation receiver)

Validates a specified Orientation object properties: heading, tilt, and roll for model.

Throws
java.lang.IllegalArgumentException

If the Orientation is not valid.