IT. Expert System.

Android Reference

VideoEditor.PreviewProgressListener


android.media.videoeditor

Interface VideoEditor.PreviewProgressListener

  • Enclosing interface:
    VideoEditor


    public static interface VideoEditor.PreviewProgressListener
    This listener interface is used by the VideoEditor to emit preview progress notifications. This callback should be invoked after the number of frames specified by #startPreview(SurfaceHolder surfaceHolder, long fromMs, int callbackAfterFrameCount, PreviewProgressListener listener)
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void onError(VideoEditor videoEditor, int error)
      This method notifies the listener when error has occurred during previewing a project.
      void onProgress(VideoEditor videoEditor, long timeMs, VideoEditor.OverlayData overlayData)
      This method notifies the listener of the current time position while previewing a project.
      void onStart(VideoEditor videoEditor)
      This method notifies the listener when the preview is started previewing a project.
      void onStop(VideoEditor videoEditor)
      This method notifies the listener when the preview is stopped previewing a project.
    • Method Detail

      • onProgress

        void onProgress(VideoEditor videoEditor,
                      long timeMs,
                      VideoEditor.OverlayData overlayData)
        This method notifies the listener of the current time position while previewing a project.
        Parameters:
        videoEditor - The VideoEditor instance
        timeMs - The current preview position (expressed in milliseconds since the beginning of the storyboard timeline).
        overlayData - The overlay data (null if the overlay data is unchanged)
      • onStart

        void onStart(VideoEditor videoEditor)
        This method notifies the listener when the preview is started previewing a project.
        Parameters:
        videoEditor - The VideoEditor instance
      • onStop

        void onStop(VideoEditor videoEditor)
        This method notifies the listener when the preview is stopped previewing a project.
        Parameters:
        videoEditor - The VideoEditor instance
      • onError

        void onError(VideoEditor videoEditor,
                   int error)
        This method notifies the listener when error has occurred during previewing a project.
        Parameters:
        videoEditor - The VideoEditor instance
        error - The error that has occurred FIXME: We should pass well-defined error code to the application; but for now, we just pass whatever error code reported by the native layer.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 894 / . Delta: 0.00561 с