Hi,
we are trying to Access Login API from Android Java using Kotlin SDK,
below is the code snippet , need help in creating a return function of type continuation.
private void login() {
LoginKt.login(
rocketChatClient,
“username”,
“password”,
“pin”,
continuation()
);
}
private kotlin.coroutines.experimental.Continuation<? super Token> continuation() {
-------- HERE-------
}
Here i need help in creating Builder in java
Any help is appreciated.
private void rocketChatClientInstance() {
rocketChatClient = RocketChatClient.Companion.create(builder());
}
private Function1<? super RocketChatClient.Builder,Unit> builder() {
-------- BUILDER------------
}
Regards
Raj