Package 

Interface Marker


  • 
    public interface Marker
    
                        

    A marker is an overlay over the CameraView preview, which should be drawn at specific times during the camera lifecycle. Currently only AutoFocusMarker is available.

    • Method Summary

      Modifier and Type Method Description
      abstract View onAttach(@NonNull() Context context, @NonNull() ViewGroup container) Marker is being attached to the CameraView.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onAttach

        @Nullable() abstract View onAttach(@NonNull() Context context, @NonNull() ViewGroup container)

        Marker is being attached to the CameraView. If a View is returned,it becomes part of the hierarchy and is automatically translated (if possible)to match the event place on screen, for example the point where autofocus was startedby the user finger.

        Parameters:
        context - a context
        container - a container