# Class Transcriber

java.lang.Object
com.codename1.media.Transcriber

public abstract class Transcriber extends Object
Provider-pluggable file transcriber. Implementations may use cloud APIs, platform speech engines, or optional cn1libs such as `cn1-ai-whisper`; all return timed segments suitable for SRT/VTT.

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `Transcriber()`
  Creates a transcriber implementation.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract String`
  `getProvider()`
  Gets the provider identifier.
  `abstract AsyncResource<TranscriptionResult>`
  `transcribe(TranscriptionRequest request)`
  Transcribes an audio file.

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Transcriber

    protected Transcriber()
    Creates a transcriber implementation.

- ## Method Details

  - ### transcribe

    public abstract AsyncResource<TranscriptionResult> transcribe(TranscriptionRequest request)
    Transcribes an audio file.
    Parameters:
      `request` - transcription request
    Returns:
      asynchronous transcription result

  - ### getProvider

    public abstract String getProvider()
    Gets the provider identifier.
    Returns:
      provider name, such as `whisper`