o

ackcord.voice

VoiceHandler

object VoiceHandler

Source
VoiceHandler.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VoiceHandler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Command extends AnyRef
  2. case class SetSpeaking(speaking: Boolean, soundshare: Boolean = false, priority: Boolean = false) extends Command with Product with Serializable

Value Members

  1. def apply(address: String, serverId: RawSnowflake, userId: UserId, sessionId: String, token: String, sendTo: Option[ActorRef[AudioAPIMessage]], soundProducer: Source[ByteString, NotUsed], soundConsumer: Sink[AudioAPIMessage, NotUsed]): Behavior[Command]
  2. def handler(parameters: Parameters, state: State): Behavior[Command]
  3. case object Logout extends Command with Product with Serializable

    Send this to a VoiceWsHandler to stop it gracefully.