get Remote Control
Gets a remote control by uid.
Return
the remote control with the requested uid, or null
if there is no remote control with such uid
Parameters
uid
uid of the requested remote control
fun getRemoteControl(@NonNull uid: String, @NonNull listener: GroundSdk.OnDeviceRemovedListener): RemoteControl
Content copied to clipboard
Gets a remote control by uid.
Return
the remote control with the requested uid, or null
if there is no remote control with such uid
Parameters
uid
uid of the requested remote control
listener
called back when the requested remote control disappears. Never called if the requested remote control does not exist (i.e. when this method returns null
).