IT. Expert System.

Android Reference

Camera.AutoFocusCallback


android.hardware

Interface Camera.AutoFocusCallback

  • Enclosing class:
    Camera


    public static interface Camera.AutoFocusCallback
    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 android.hardware.camera.autofocus feature, in the <uses-feature> manifest element.

    See Also:
    Camera.autoFocus(AutoFocusCallback)
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void onAutoFocus(boolean success, Camera camera)
      Called when the camera auto focus completes.
    • Method Detail

      • onAutoFocus

        void onAutoFocus(boolean success,
                       Camera camera)
        Called when the camera auto focus completes. If the camera does not support auto-focus and autoFocus is called, onAutoFocus will be called immediately with a fake value of success set to true. The auto-focus routine does not lock auto-exposure and auto-white balance after it completes.
        Parameters:
        success - true if focus was successful, false if otherwise
        camera - the Camera service object
        See Also:
        Camera.Parameters.setAutoExposureLock(boolean), Camera.Parameters.setAutoWhiteBalanceLock(boolean)


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: 2785 / . Delta: 0.00545 с