NIMSDK-AOS  9.16.3
ChatRoomSpatialLocation.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.chatroom.model;
2 
3 import java.io.Serializable;
4 
8 public class ChatRoomSpatialLocation implements Serializable{
9 
13  private Double x;
17  private Double y;
21  private Double z;
22 
26  private Double distance;
27 
29  }
30 
31  public ChatRoomSpatialLocation(Double x, Double y, Double z,Double distance) {
32  this.x = x;
33  this.y = y;
34  this.z = z;
35  this.distance = distance;
36  }
37 
38  public Double getX() {
39  return x;
40  }
41 
42  public void setX(Double x) {
43  this.x = x;
44  }
45 
46  public Double getY() {
47  return y;
48  }
49 
50  public void setY(Double y) {
51  this.y = y;
52  }
53 
54  public Double getZ() {
55  return z;
56  }
57 
58  public void setZ(Double z) {
59  this.z = z;
60  }
61 
62  public Double getDistance() {
63  return distance;
64  }
65 
66  public void setDistance(Double distance) {
67  this.distance = distance;
68  }
69 }
ChatRoomSpatialLocation(Double x, Double y, Double z, Double distance)