|
NIMSDK-AOS
10.9.80
|
V2NIM消息位置附件构建器 更多...
Public 成员函数 | |
| V2NIMMessageLocationAttachmentBuilder | withLatitude (double latitude) |
| 设置纬度,范围在-90到90之间,超出范围的无效 更多... | |
| V2NIMMessageLocationAttachmentBuilder | withLongitude (double longitude) |
| 设置经度,范围在-180到180之间,超出范围的无效 更多... | |
| V2NIMMessageLocationAttachmentBuilder | withAddress (String address) |
| 设置详细地址 更多... | |
| V2NIMMessageLocationAttachment | build () |
| 构建V2NIMMessageLocationAttachment实例 更多... | |
静态 Public 成员函数 | |
| static V2NIMMessageLocationAttachmentBuilder | builder () |
| 创建一个新的构建器实例 更多... | |
V2NIM消息位置附件构建器
该类用于构建V2NIM消息中的位置附件。它遵循构建器模式,允许链式调用来设置位置信息。
在文件 V2NIMMessageLocationAttachmentBuilder.java 第 11 行定义.
| V2NIMMessageLocationAttachment com.netease.nimlib.sdk.v2.message.attachment.builder.V2NIMMessageLocationAttachmentBuilder.build | ( | ) |
构建V2NIMMessageLocationAttachment实例
在文件 V2NIMMessageLocationAttachmentBuilder.java 第 87 行定义.
|
static |
创建一个新的构建器实例
在文件 V2NIMMessageLocationAttachmentBuilder.java 第 78 行定义.
| V2NIMMessageLocationAttachmentBuilder com.netease.nimlib.sdk.v2.message.attachment.builder.V2NIMMessageLocationAttachmentBuilder.withAddress | ( | String | address | ) |
| V2NIMMessageLocationAttachmentBuilder com.netease.nimlib.sdk.v2.message.attachment.builder.V2NIMMessageLocationAttachmentBuilder.withLatitude | ( | double | latitude | ) |
设置纬度,范围在-90到90之间,超出范围的无效
| latitude | 纬度值 |
在文件 V2NIMMessageLocationAttachmentBuilder.java 第 38 行定义.
| V2NIMMessageLocationAttachmentBuilder com.netease.nimlib.sdk.v2.message.attachment.builder.V2NIMMessageLocationAttachmentBuilder.withLongitude | ( | double | longitude | ) |
设置经度,范围在-180到180之间,超出范围的无效
| longitude | 经度值 |
在文件 V2NIMMessageLocationAttachmentBuilder.java 第 53 行定义.
1.8.11