InputControllerClient class Components
gRPC client for the InputController component.
- Inheritance
-
- Object
- Resource
- InputController
- InputControllerClient
- Implemented types
- Mixed-in types
Constructors
- InputControllerClient(String name, ClientChannelBase channel)
Properties
- callOptions → CallOptions
-
no setterinherited
- channel ↔ ClientChannelBase
-
getter/setter pairoverride
- client → InputControllerServiceClient
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disableDebugLogging(
) → void -
Disable debug logging for gRPC calls by removing the trace key from the metadata.
inherited
-
doCommand(
Map< String, dynamic> command) → Future<Map< String, dynamic> > -
Send/Receive arbitrary commands to the Resource
override
-
enableDebugLogging(
{String? traceKey}) → void -
Enable debug logging for gRPC calls by setting a trace key in the metadata.
If no trace key is provided, a random one will be generated.
inherited
-
getControls(
{Map< String, dynamic> ? extra}) → Future<List< String> > -
Get the list of available controls on the input controller.
override
-
getEvents(
{Map< String, dynamic> ? extra}) → Future<List< Event> > -
Get events for each control on the input controller.
override
-
getGeometries(
{Map< String, dynamic> ? extra}) → Future<GetGeometriesResponse> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerControlCallback(
String control, List< String> triggers, void callback(Event)?, {Map<String, dynamic> ? extra}) → Future<void> -
Register a callback function to be called when control events occur.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
triggerEvent(
Event event, {Map< String, dynamic> ? extra}) → Future<void> -
Trigger an event on the input controller.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited