Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Việc bật đèn flash của thiết bị trong phiên AR có thể giúp cải thiện khả năng hiển thị.
Kiểm tra để đảm bảo cấu hình máy ảnh hiện tại hỗ trợ đèn flash
Không phải cấu hình máy ảnh nào cũng hỗ trợ bật đèn flash.
Trước khi bật đèn flash hoặc cho phép người dùng bật đèn flash, hãy đảm bảo rằng bạn có thể sử dụng đèn flash cho cấu hình máy ảnh đang hoạt động:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["Using the device's flash during an AR session can enhance visibility in low-light conditions."],["Before enabling the flash, verify if the active camera configuration supports it by checking the `hasTorch` property of the `AVCaptureDevice`."],["Enable the flash by setting the `torchMode` property of the `AVCaptureDevice` to `AVCaptureTorchModeOn`."],["Disable the flash by setting the `torchMode` property of the `AVCaptureDevice` to `AVCaptureTorchModeOff`."]]],["To utilize the device's flash in an AR session, first verify if the active camera configuration supports it using `device.hasTorch`. If supported, enable the flash by setting `device.torchMode` to `AVCaptureTorchModeOn` after locking the device for configuration. If the camera doesn't support flash, setting `AVCaptureTorchModeOn` will have no effect. To disable it set the `device.torchMode` to `AVCaptureTorchModeOff` and unlock the configuration.\n"]]