JunctionViewData

A class that encapsulates the junction view data and its associated format type.

This class is primarily used to store and manage visual representations of road junctions, including the raw image data (as a byte array) and the format of the image (e.g., PNG, SVG).

Types

Link copied to clipboard
class PngData(val data: ByteArray)

A class that represents PNG image data.

Link copied to clipboard
annotation class ResponseFormat

Annotation class representing the format of the received junction view. Available values are:

Link copied to clipboard
class SvgData(val data: ByteArray)

A class that represents SVG image data.

Properties

Link copied to clipboard

A byte array that contains the raw junction view image data.

Link copied to clipboard

Checks if the junction view data is in PNG format.

Link copied to clipboard

Checks if the junction view data is in SVG format.

Link copied to clipboard

The format of the image (e.g., "png", "svg").

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard

Retrieves the junction view data as a PngData object if the data is in PNG format.

Link copied to clipboard

Retrieves the junction view data as an SvgData object if the data is in SVG format.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.