mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 02:17:18 +01:00
59 lines
1.8 KiB
Java
59 lines
1.8 KiB
Java
package com.mapbox.maps;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import com.amazon.alexa.ra.core.ui.markdown.parser.formatter.MarkdownConstants;
|
|
import com.mapbox.bindgen.RecordUtils;
|
|
import com.mapbox.common.BaseMapboxInitializer;
|
|
import com.mapbox.maps.loader.MapboxMapsInitializerImpl;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
import java.util.Objects;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes8.dex */
|
|
public final class CameraChanged implements Serializable {
|
|
|
|
@NonNull
|
|
private final CameraState cameraState;
|
|
|
|
@NonNull
|
|
private final Date timestamp;
|
|
|
|
static {
|
|
BaseMapboxInitializer.init(MapboxMapsInitializerImpl.class);
|
|
}
|
|
|
|
public CameraChanged(@NonNull CameraState cameraState, @NonNull Date date) {
|
|
this.cameraState = cameraState;
|
|
this.timestamp = date;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || CameraChanged.class != obj.getClass()) {
|
|
return false;
|
|
}
|
|
CameraChanged cameraChanged = (CameraChanged) obj;
|
|
return Objects.equals(this.cameraState, cameraChanged.cameraState) && Objects.equals(this.timestamp, cameraChanged.timestamp);
|
|
}
|
|
|
|
@NonNull
|
|
public CameraState getCameraState() {
|
|
return this.cameraState;
|
|
}
|
|
|
|
@NonNull
|
|
public Date getTimestamp() {
|
|
return this.timestamp;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return Objects.hash(this.cameraState, this.timestamp);
|
|
}
|
|
|
|
public String toString() {
|
|
return "[cameraState: " + RecordUtils.fieldToString(this.cameraState) + ", timestamp: " + RecordUtils.fieldToString(this.timestamp) + MarkdownConstants.RIGHT_BRACKET;
|
|
}
|
|
}
|