Boolean
String
AppServiceManifest
Boolean
AppServiceRecord
AppServiceRecord
AppServiceRecord
AppServiceRecord
Boolean
Get the ServiceActive
Kind: Instance method of AppServiceRecord
Returns: Boolean
- the KEY_SERVICE_ACTIVE value
String
Get the ServiceID
Kind: Instance method of AppServiceRecord
Returns: String
- the KEY_SERVICE_ID value
AppServiceManifest
Get the ServiceManifest
Kind: Instance method of AppServiceRecord
Returns: AppServiceManifest
- the KEY_SERVICE_MANIFEST value
Boolean
Get the ServicePublished
Kind: Instance method of AppServiceRecord
Returns: Boolean
- the KEY_SERVICE_PUBLISHED value
AppServiceRecord
Set the ServiceActive
Kind: Instance method of AppServiceRecord
Returns: AppServiceRecord
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
active | Boolean |
If true, the service is the active primary service of the supplied service type. It will receive all potential RPCs that are passed through to that service type. If false, it is not the primary service of the supplied type. See servicePublished for its availability. - The desired ServiceActive. |
AppServiceRecord
Set the ServiceID
Kind: Instance method of AppServiceRecord
Returns: AppServiceRecord
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
id | String |
A unique ID tied to this specific service record. The ID is supplied by the module that services publish themselves. - The desired ServiceID. {'string_min_length': 1} |
AppServiceRecord
Set the ServiceManifest
Kind: Instance method of AppServiceRecord
Returns: AppServiceRecord
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
manifest | AppServiceManifest |
Manifest for the service that this record is for. - The desired ServiceManifest. |
AppServiceRecord
Set the ServicePublished
Kind: Instance method of AppServiceRecord
Returns: AppServiceRecord
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
published | Boolean |
If true, the service is published and available. If false, the service has likely just been unpublished, and should be considered unavailable. - The desired ServicePublished. |