public class NavigationRpcHandler extends Object implements RpcInvocationHandler
For internal use only. May be renamed or removed in a future release.
JsonConstants.RPC_TYPE_NAVIGATION,
Serialized Form| Constructor and Description |
|---|
NavigationRpcHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRpcType()
Gets unique RPC type which this handler is applicable for.
|
Optional<Runnable> |
handle(UI ui,
elemental.json.JsonObject invocationJson)
Handles RPC data
invocationJson using ui as a context. |
public String getRpcType()
RpcInvocationHandlergetRpcType in interface RpcInvocationHandlerpublic Optional<Runnable> handle(UI ui, elemental.json.JsonObject invocationJson)
RpcInvocationHandlerinvocationJson using ui as a context.handle in interface RpcInvocationHandlerui - the UI to handle against, not nullinvocationJson - the RPC data to handle, not nullCopyright © 2025. All rights reserved.