Skip to content

Commit

Permalink
kotlin: Added changeDevice function
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-baumann committed Feb 21, 2024
1 parent 5c7d1d4 commit 325f90a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ class NearbyServer(context: Context, myDevice: Device, delegate: NearbyConnectio
internal.start()
}

fun changeDevice(newDevice: Device) {
internal.changeDevice(newDevice)
}

suspend fun sendFile(receiver: Device, fileUrl: String, progressDelegate: SendProgressDelegate?) {
internal.sendFile(receiver, fileUrl, progressDelegate)
}
Expand Down

0 comments on commit 325f90a

Please sign in to comment.