TestConversationSceneSignal


@ExperimentalSceneSignalApi
@PreviewSpatialApi
public final class TestConversationSceneSignal


A test utility for manipulating Conversation Scene Signals in the mocked AR environment.

Summary

Public methods

final float

The simulated confidence level of the conversation detection.

final int

The simulated conversation type integer (e.g., 0 for NOT_DETECTED, 1 for VIRTUAL, 2 for IN_PERSON).

final void
setConfidence(float value)

The simulated confidence level of the conversation detection.

final void
setType(int value)

The simulated conversation type integer (e.g., 0 for NOT_DETECTED, 1 for VIRTUAL, 2 for IN_PERSON).

Public methods

getConfidence

Added in 1.0.0-alpha14
public final float getConfidence()

The simulated confidence level of the conversation detection. Ranges from 0.0 to 1.0.

getType

Added in 1.0.0-alpha14
public final int getType()

The simulated conversation type integer (e.g., 0 for NOT_DETECTED, 1 for VIRTUAL, 2 for IN_PERSON).

setConfidence

Added in 1.0.0-alpha14
public final void setConfidence(float value)

The simulated confidence level of the conversation detection. Ranges from 0.0 to 1.0.

setType

Added in 1.0.0-alpha14
public final void setType(int value)

The simulated conversation type integer (e.g., 0 for NOT_DETECTED, 1 for VIRTUAL, 2 for IN_PERSON).