Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an asyncKey listener to the directive paylaod on the device-gateway client. #2470 #2471

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

tommy5oo
Copy link
Collaborator

@tommy5oo tommy5oo commented Jun 13, 2024

Implement the eventListener

        messageSender.newCall(request)
            .enqueue(
                callback = { ... },
                eventListener = object : MessageSender.EventListener {
                    override fun onAsyncKeyReceived(
                        request: MessageRequest, asyncKey: AsyncKey
                    ) {
                        TODO("Not yet implemented")
                    }
                })
        

@tommy5oo tommy5oo requested a review from shshshl09 June 13, 2024 10:25
@tommy5oo tommy5oo self-assigned this Jun 13, 2024
@shshshl09
Copy link
Collaborator

asyncKey (O) : onAsyncKeyReceived(START) , onSuccess() , onAsyncKeyReceived(END) ,
asyncKey (X) : onSuccess()

@tommy5oo tommy5oo merged commit addc2ba into nugu-developers:master Jun 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an asyncKey listener to the directive paylaod on the device-gateway client.
2 participants