Class CallCaptions

  • Direct Known Subclasses:
    CommunicationCaptions, TeamsCaptions

    public abstract class CallCaptions
    extends Object
    Call captions for managing common captions functionality.
    • Method Detail

      • finalize

        protected void finalize()
        Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
        Overrides:
        finalize in class Object
      • getSupportedSpokenLanguages

        public List<String> getSupportedSpokenLanguages()
        List of supported spoken languages for Captions.
      • isEnabled

        public boolean isEnabled()
        Indicates if captions is enabled in current call.
      • getCaptionsType

        public CaptionsType getCaptionsType()
        Get captions type.
      • getActiveSpokenLanguage

        public String getActiveSpokenLanguage()
        Get active spoken language.
      • startCaptions

        public CompletableFuture<Void> startCaptions​(StartCaptionsOptions options)
        Starts the captions.
      • stopCaptions

        public CompletableFuture<Void> stopCaptions()
        Stop the captions.
      • setSpokenLanguage

        public CompletableFuture<Void> setSpokenLanguage​(String language)
        Set the spoken language.