30 lines
1.1 KiB
Java
30 lines
1.1 KiB
Java
|
package com.google.android.gms.maps.model;
|
||
|
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
||
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class PointOfInterest extends AbstractSafeParcelable {
|
||
|
public static final Parcelable.Creator<PointOfInterest> CREATOR = new zzj();
|
||
|
public final LatLng latLng;
|
||
|
public final String name;
|
||
|
public final String placeId;
|
||
|
|
||
|
public PointOfInterest(LatLng latLng, String str, String str2) {
|
||
|
this.latLng = latLng;
|
||
|
this.placeId = str;
|
||
|
this.name = str2;
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final void writeToParcel(Parcel parcel, int i) {
|
||
|
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||
|
SafeParcelWriter.writeParcelable(parcel, 2, this.latLng, i, false);
|
||
|
SafeParcelWriter.writeString(parcel, 3, this.placeId, false);
|
||
|
SafeParcelWriter.writeString(parcel, 4, this.name, false);
|
||
|
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||
|
}
|
||
|
}
|