ProximityServerActivationHelper

class ProximityServerActivationHelper @JvmOverloads constructor(val voiceServer: PlasmoVoiceServer, val activation: ServerActivation, val sourceLine: ServerSourceLine, distanceSupplier: ProximityServerActivationHelper.DistanceSupplier? = null)

Helper class for proximity activations.

This class will handle sources and activation manipulations for proximity activations. You just need to create an instance of this class and register it in Plasmo Voice eventbus.

Example usage:

ProximityServerActivationHelper proximityHelper = new ProximityServerActivationHelper(voiceServer, activation, sourceLine);
voiceServer.eventBus.register(voiceServer, proximityHelper);

Constructors

Link copied to clipboard
constructor(voiceServer: PlasmoVoiceServer, activation: ServerActivation, sourceLine: ServerSourceLine, distanceSupplier: ProximityServerActivationHelper.DistanceSupplier? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard