public enum

ScreenFlashUiInfo.ProviderType

extends java.lang.Enum<ScreenFlashUiInfo.ProviderType>

 java.lang.Object

↳java.lang.Enum<ScreenFlashUiInfo.ProviderType>

↳androidx.camera.view.internal.ScreenFlashUiInfo.ProviderType

Overview

Since can be created from either the ScreenFlashView set by user or the one internally used in PreviewView, CameraController needs to know where exactly the control is from so that it can prioritize the user-set one when both are available.

Summary

Enum Constants
PREVIEW_VIEW
SCREEN_FLASH_VIEW
Methods
public static ScreenFlashUiInfo.ProviderTypevalueOf(java.lang.String name)

public static ScreenFlashUiInfo.ProviderTypevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

PREVIEW_VIEW

SCREEN_FLASH_VIEW

Methods

public static ScreenFlashUiInfo.ProviderType values()

public static ScreenFlashUiInfo.ProviderType valueOf(java.lang.String name)