startRealTimeLocation

public abstract RealTimeLocationErrorCode startRealTimeLocation(ConversationType conversationType, String targetId)

Initiates location sharing.

Return

Indicates whether the initiation was successful. Refer to the specific error code RealTimeLocationErrorCode for details.

Parameters

conversationType

The type of conversation for which location sharing is initiated.

targetId

The ID of the conversation for which location sharing is initiated.