Class VoiceWiretap
java.lang.Object
fr.dreamin.dreamvoice.api.wiretap.model.VoiceWiretap
Model representing a covert spy microphone / wiretap listening point.
Can be fixed in the world or attached to moving entities with live eavesdropping and recording.
-
Constructor Summary
ConstructorsConstructorDescriptionVoiceWiretap(@NotNull String name, @NotNull VoiceLocation location) VoiceWiretap(@NotNull String name, @NotNull VoiceLocation location, @Nullable UUID targetEntityUuid) VoiceWiretap(@NotNull UUID uuid, @NotNull String name, @NotNull VoiceLocation location) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(@NotNull UUID playerUuid) @NotNull List<VoiceRecording> booleanhasListener(@NotNull UUID playerUuid) booleanbooleanvoidremoveListener(@NotNull UUID playerUuid) @NotNull VoiceRecording@Nullable VoiceRecording
-
Constructor Details
-
VoiceWiretap
-
VoiceWiretap
public VoiceWiretap(@NotNull @NotNull String name, @NotNull @NotNull VoiceLocation location, @Nullable @Nullable UUID targetEntityUuid) -
VoiceWiretap
public VoiceWiretap(@NotNull @NotNull UUID uuid, @NotNull @NotNull String name, @NotNull @NotNull VoiceLocation location)
-
-
Method Details
-
isAttachedToEntity
public boolean isAttachedToEntity() -
addListener
-
removeListener
-
hasListener
-
getListeners
-
startRecording
-
stopRecording
-
isRecording
public boolean isRecording() -
getRecordings
-