WebMessagePortCompat.WebMessageCallbackCompat
public
static
abstract
class
WebMessagePortCompat.WebMessageCallbackCompat
extends Object
| java.lang.Object
|
| ↳ |
androidx.webkit.WebMessagePortCompat.WebMessageCallbackCompat
|
The listener for handling MessagePort events. The message callback
methods are called on the main thread. If the embedder application
wants to receive the messages on a different thread, it can do this
by passing a Handler in
WebMessagePortCompat.setWebMessageCallback(Handler, WebMessageCallbackCompat).
In the latter case, the application should be extra careful for thread safety
since WebMessagePort methods should be called on main thread.
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
WebMessagePortCompat.WebMessageCallbackCompat
public WebMessagePortCompat.WebMessageCallbackCompat ()
Public methods