public class

PdfMediaDialog

extends Activity
implements MediaViewListener
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ com.pspdfkit.ui.PdfMediaDialog

Class Overview

A dialog used for displaying media playback.

Summary

Constants
String ARG_MEDIA_URI Argument used to pass MediaUri to the dialog.
String ARG_VIDEO_PLAYBACK_ENABLED Argument used to enabled/disable video playback.
String TAG Fragment tag.
[Expand]
Inherited Constants
From class android.app.Activity
From class android.content.Context
From interface android.content.ComponentCallbacks2
[Expand]
Inherited Fields
From class android.app.Activity
Public Constructors
PdfMediaDialog()
Public Methods
void onContentError()
Called when the media content has an error and it's unable to be opened.
void onContentReady()
Called when the media content is ready to be played.
Protected Methods
void onCreate(Bundle savedInstanceState)
void onDestroy()
void onStart()
[Expand]
Inherited Methods
From class android.app.Activity
From class android.view.ContextThemeWrapper
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.view.KeyEvent.Callback
From interface android.view.LayoutInflater.Factory
From interface android.view.LayoutInflater.Factory2
From interface android.view.View.OnCreateContextMenuListener
From interface android.view.Window.Callback
From interface com.pspdfkit.media.MediaViewListener

Constants

public static final String ARG_MEDIA_URI

Argument used to pass MediaUri to the dialog.

Constant Value: "PSPDFKit.MediaURI"

public static final String ARG_VIDEO_PLAYBACK_ENABLED

Argument used to enabled/disable video playback.

Constant Value: "PSPDFKit.VideoPlaybackEnabled"

public static final String TAG

Fragment tag.

Constant Value: "PSPDFKit.MediaDialog"

Public Constructors

public PdfMediaDialog ()

Public Methods

public void onContentError ()

Called when the media content has an error and it's unable to be opened.

public void onContentReady ()

Called when the media content is ready to be played.

Protected Methods

protected void onCreate (Bundle savedInstanceState)

protected void onDestroy ()

protected void onStart ()