Được gọi khi nhà phát triển gọi phương thức stopAnimation() một cách rõ ràng hoặc nếu lý do cho chuyển động của máy ảnh đã thay đổi trước khi onCameraIdle có cơ hội kích hoạt sau ảnh động trước đó.
Phương thức công khai
public
abstract
void
onCameraMoveCanceled()
Được gọi khi nhà phát triển gọi phương thức stopAnimation() một cách rõ ràng hoặc nếu lý do cho chuyển động của máy ảnh đã thay đổi trước khi onCameraIdle có cơ hội kích hoạt sau ảnh động trước đó. Đừng cập nhật hoặc tạo ảnh động cho máy ảnh từ bên trong phương thức này.
Lệnh này được gọi trên luồng giao diện người dùng Android.
[[["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-06-16 UTC."],[[["`GoogleMap.OnCameraMoveCanceledListener` is an interface used to receive callbacks when the camera movement is interrupted or a new movement begins."],["The `onCameraMoveCanceled()` method is triggered when `stopAnimation()` is called or when the cause of camera movement changes before the camera settles."]]],["The `GoogleMap.OnCameraMoveCanceledListener` interface provides a callback for camera motion cessation or change. The `onCameraMoveCanceled()` method is invoked when `stopAnimation()` is called or if the motion's reason changes before `onCameraIdle` fires. Developers should refrain from updating or animating the camera within `onCameraMoveCanceled()`. This method operates on the Android UI thread, indicating the event's occurrence.\n"]]