SpatialPosition class Models

The SpatialPosition class represents a participant's audio position. The position is defined using Cartesian coordinates.

You can define the direction of each axis in the coordinate system using the ConferenceService.setSpatialEnvironment method. By default, the environment consists of the following axes:

  • X-axis: Extends positive to the right
  • Y-axis: Extends positive upwards
  • Z-axis: Extends positive forwards

The ConferenceService.setSpatialEnvironment method allows the application to choose the meaning of each axis and match the usage of the application.

Constructors

SpatialPosition(double x, double y, double z)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
x double
The x-coordinate of a new audio location.
read / write
y double
The y-coordinate of a new audio location.
read / write
z double
The z-coordinate of a new audio location.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, Object?>
Returns a representation of this object as a JSON object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited