Service class
A upnp service
Constructors
Properties
-
actionNames
→ List<
String?> -
Returns a list of the names of the actions
See Action.name
no setter
-
actions
→ List<
Action> -
The actions which can be invoked
final
- controlUrl ↔ String?
-
The url to invoke this service
getter/setter pair
- device → Device?
-
The device this service is running on
final
- eventSubUrl ↔ String?
-
The url to subscribe to events
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The id of this service
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scpdUrl ↔ String?
-
The url to the service description
getter/setter pair
-
stateVariables
→ List<
StateVariable> -
The state variables of this service
final
- type → String?
-
The type of this service
final
Methods
-
invokeAction(
String name, Map< String, dynamic> args) → Future<Map< String, String> > - Invoke an action with the specified name and args
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendToControlUrl(
String? name, String param) → Future< String> - Sends a request to the control url with the name of the action and the param. Used by Action.invoke(args)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited