getAudioBufferDelay

Gets the audio buffer delay when playing media files.

int getAudioBufferDelay();

Return Values

  • If the method call succeeds, returns the audio buffer delay (in milliseconds).
  • If the method call fails, returns an error code less than 0. You can use MediaPlayerReason to check the error reason.