Resource Base
Table of contents

CameraState

Enumeration CameraState describes the camera state.

@IntDef({OPENING,OPENED,CLOSING,CLOSED})
@Retention(RetentionPolicy.CLASS)
public @interface EnumCameraState {
   // The camera is opening.
   int OPENING = 0;
   // The camera is opened.
   int OPENED = 1;
   // The camera is closing.
   int CLOSING = 2;
   // The camera is closed.
   int CLOSED = 3;
}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: