start Real Time Location
public abstract RealTimeLocationErrorCode startRealTimeLocation(ConversationType conversationType, String targetId)
发起位置共享。
Return
是否开启成功。对应具体的错误码 RealTimeLocationErrorCode。
Parameters
conversation Type
发起位置共享的会话类型。
target Id
发起位置共享的会话 id。
public abstract RealTimeLocationErrorCode startRealTimeLocation(ConversationType conversationType, String targetId, MessagePushConfig messagePushConfig)
发起位置共享,并为发起消息设置推送配置。
推送配置仅作用于实时位置共享发起消息 RC:RLStart,不会用于位置状态、加入或退出消息。
Return
是否开启成功。对应具体的错误码 RealTimeLocationErrorCode。
Since
5.46.0
Parameters
conversation Type
发起位置共享的会话类型。
target Id
发起位置共享的会话 id。
message Push Config
发起消息的推送配置,可为 null。