Skip to content

使用了过时的API #3

Description

@zouxianbincc

/**
* Callback interface used to deliver copies of preview frames as
* they are displayed.
*
* @see #setPreviewCallback(Camera.PreviewCallback)
* @see #setOneShotPreviewCallback(Camera.PreviewCallback)
* @see #setPreviewCallbackWithBuffer(Camera.PreviewCallback)
* @see #startPreview()
*
* @deprecated We recommend using the new {@link android.hardware.camera2} API for new
* applications.
*/

Camera.PreviewCallback

/**
* Callback interface used to notify on completion of camera auto focus.
*
*

Devices that do not support auto-focus will receive a "fake"
* callback to this interface. If your application needs auto-focus and
* should not be installed on devices without auto-focus, you must
* declare that your app uses the
* {@code android.hardware.camera.autofocus} feature, in the
* <uses-feature>
* manifest element.


*
* @see #autoFocus(AutoFocusCallback)
* @deprecated We recommend using the new {@link android.hardware.camera2} API for new
* applications.
*/

AutoFocusCallback

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions