import HashSet from "@ohos:util.HashSet"; export class CameraPositionFilter { static createCameraPositionFilterWithCameraMap(y2, z2) { return new SettableCameraPositionFilter(y2, z2); } static createCameraPositionFilter(x2) { return CameraPositionFilter.createCameraPositionFilterWithCameraMap(x2, new Array()); } } export class SettableCameraPositionFilter extends CameraPositionFilter { constructor(v2, w2) { super(); this.cameraPosition = v2; this.availableCameraStore = w2; } filter() { let s2 = new HashSet(); this.availableCameraStore.forEach((u2) => { if (u2 != undefined && u2.cameraPosition.valueOf() == this.cameraPosition.valueOf()) { s2.add(u2.cameraId); } }); return s2; } getCameraPosition() { return this.cameraPosition; } } 