Skip to the content.

//[](../../../index.html)/[pro.streem.sdk](../index.html)/[Streem](index.html)/[startStreemToRemoteUser](start-streem-to-remote-user.html)

startStreemToRemoteUser

[androidJvm]\

@MainThread

abstract fun startStreemToRemoteUser(currentActivity: Activity, remoteUserId: String, companyCode: String, referenceId: String? = null, integrationId: String? = null)

Opens a room with the participants in a new full-screen Activity by way of the lobby.

Parameters

androidJvm

   
currentActivity this Activity’s onActivityResult method will be called with the room’s exit code.
remoteUserId the ID of the remote participant to invite to the room.
companyCode the company code that the remoteUserId belongs to.
referenceId the reference ID to use for the room, or null if none.
integrationId the integration ID to use for the room, or null if none.