You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am passing in the interface object, BUT there are SO MANY scenarios where you never call any of those methods back.
WHY WHY WHY are you asking the API user to pass in an IterableEmbeddedUpdateHandler
if you never call them back.
PLEASE make this callback no matter what,
class Update : IterableEmbeddedUpdateHandler {
override fun onEmbeddedMessagingDisabled() {
println("calling onEmbeddedMessagingDisabled()")
callback()
}
override fun onMessagesUpdated() {
println("calling onMessagesUpdated()")
callback()
}
}
embeddedManager?.addUpdateListener(Update())
The text was updated successfully, but these errors were encountered:
I am passing in the interface object, BUT there are SO MANY scenarios where you never call any of those methods back.
WHY WHY WHY are you asking the API user to pass in an IterableEmbeddedUpdateHandler
if you never call them back.
PLEASE make this callback no matter what,
class Update : IterableEmbeddedUpdateHandler {
override fun onEmbeddedMessagingDisabled() {
println("calling onEmbeddedMessagingDisabled()")
callback()
}
embeddedManager?.addUpdateListener(Update())
The text was updated successfully, but these errors were encountered: