UseTorchAsFlash

@RequiresApi(value = 21) public class UseTorchAsFlash


Workaround to use torch as flash.

Summary

Public constructors

Public methods

@NonNull boolean

Returns if torch should be used as flash.

Public constructors

UseTorchAsFlash

public UseTorchAsFlash(@NonNull Quirks quirks)

Public methods

shouldUseTorchAsFlash

@NonNull
public boolean shouldUseTorchAsFlash()

Returns if torch should be used as flash.