Partilhar via


MicrophoneCoordinates Class

  • java.lang.Object
    • com.microsoft.cognitiveservices.speech.audio.MicrophoneCoordinates

public class MicrophoneCoordinates

Represents coordinates of a microphone.

Constructor Summary

Constructor Description
MicrophoneCoordinates(MicrophoneCoordinates other)

Creates a new object of MicrophoneCoordinates using object instance.

MicrophoneCoordinates(int X, int Y, int Z)

Creates a new object of MicrophoneCoordinates.

Method Summary

Modifier and Type Method and Description
int getX()

Returns the X-coordinate of the microphone.

int getY()

Returns the Y-coordinate of the microphone.

int getZ()

Returns the Z-coordinate of the microphone.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MicrophoneCoordinates

public MicrophoneCoordinates(MicrophoneCoordinates other)

Creates a new object of MicrophoneCoordinates using object instance.

Parameters:

other - A MicrophoneCoordinates object.

MicrophoneCoordinates

public MicrophoneCoordinates(int X, int Y, int Z)

Creates a new object of MicrophoneCoordinates.

Parameters:

X - Specifies the X-coordinate of the microphone, in millimeters.
Y - Specifies the Y-coordinate of the microphone, in millimeters.
Z - Specifies the Z-coordinate of the microphone, in millimeters.

Method Details

getX

public int getX()

Returns the X-coordinate of the microphone.

Returns:

X-coordinate.

getY

public int getY()

Returns the Y-coordinate of the microphone.

Returns:

Y-coordinate.

getZ

public int getZ()

Returns the Z-coordinate of the microphone.

Returns:

Z-coordinate.

Applies to