{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class RemoteInteractionRegistry
An exposed registry instance to make it easy for callers to get a hold of Remote Interaction
Public constructors |
|
|---|---|
Public functions |
|
|---|---|
java-static RemoteInteraction! |
Returns the |
java-static Unit |
registerInstance(remoteInteraction: RemoteInteraction!)Stores the remote interaction in the registry. |
java-static fun getInstance(): RemoteInteraction!
Returns the RemoteInteraction
This remote interaction is not guaranteed to be present under all instrumentations.
| Returns | |
|---|---|
RemoteInteraction! |
RemoteInteraction the remote interaction for this application. If no remote interaction has been registered a |
java-static fun registerInstance(remoteInteraction: RemoteInteraction!): Unit
Stores the remote interaction in the registry.
This is a global registry - so be aware of the impact of calling this method!
| Parameters | |
|---|---|
remoteInteraction: RemoteInteraction! |
the remote interaction for this application. <@code>Nullde-registers any existing monitor. |