CameraSource.ShutterCallback
Stay organized with collections
Save and categorize content based on your preferences.
TheMobile Vision API is deprecated and no longer maintained.
It is now a part ofML Kit which includes all new on-device ML
capabilities. If you use Mobile Vision in your app today, follow the
migration guide .
Callback interface used to signal the moment of actual image capture.
Public Method Summary
abstract void
onShutter ()
Called as near as possible to the moment when a photo is captured from the
sensor.
Public Methods
public abstract void onShutter ()
Called as near as possible to the moment when a photo is captured from the sensor.
This is a good opportunity to play a shutter sound or give other feedback of camera
operation. This may be some time after the photo was triggered, but some time before
the actual data is available.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License ,and code samples are licensed under theApache 2.0 License .For details, see theGoogle Developers Site Policies .Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-06-17 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label": "Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label": "Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label": "Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label": "Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label": "Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label": "Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label": "Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label": "Other"
}]