একটি AR সেশনের সময় ডিভাইসের ফ্ল্যাশ ইউনিট সক্ষম করা দৃশ্যমানতা উন্নত করতে সাহায্য করতে পারে।
বর্তমান ক্যামেরা কনফিগারেশন ফ্ল্যাশ সমর্থন করে তা পরীক্ষা করুন
সমস্ত ক্যামেরা কনফিগারেশন একটি ফ্ল্যাশ ইউনিট সক্রিয় করতে সমর্থন করে না। ফ্ল্যাশ সক্ষম করার আগে বা ব্যবহারকারীদের ফ্ল্যাশ সক্ষম করার বিকল্প দেওয়ার আগে, সক্রিয় ক্যামেরা কনফিগারেশনের জন্য ফ্ল্যাশ ইউনিট উপলব্ধ রয়েছে তা নিশ্চিত করুন:
[null,null,["2025-02-28 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Enabling the device's flash during an AR session can enhance visibility in low-light environments."],["Before enabling the flash, verify if the active camera configuration supports it using `CameraCharacteristics.FLASH_INFO_AVAILABLE`."],["Use `Config.FlashMode.TORCH` to enable the flash and `Config.FlashMode.OFF` to disable it within the AR session configuration."],["Attempting to enable the flash on an unsupported camera configuration will have no adverse effect."]]],["To use the device's flash in an AR session, first verify if the current camera configuration supports it using `CameraCharacteristics.FLASH_INFO_AVAILABLE`. If available, enable the flash by setting the AR session's configuration to `Config.FlashMode.TORCH`. This is done through a camera manager service. If not available setting it will have no effect. To disable the flash, set the session's configuration to `Config.FlashMode.OFF`. Code examples in both Java and Kotlin are provided.\n"]]