livekit / client-sdk-android

LiveKit SDK for Android
https://docs.livekit.io
Apache License 2.0
165 stars 64 forks source link

How to new Continuation in java file #334

Closed farsunset closed 7 months ago

farsunset commented 7 months ago

My probject is java file, how to make a Continuation in java

 room.connect(BuildConfig.LIVEKIT_URI, response.data, new ConnectOptions(), new RoomOptions(), new Continuation<Unit>() {
                            @NonNull
                            @Override
                            public CoroutineContext getContext() {
                                return null;
                            }

                            @Override
                            public void resumeWith(@NonNull Object o) {

                            }
                        });
davidzhao commented 7 months ago

this is not a livekit issue