BooleanStringAppServiceManifestBooleanAppServiceRecordAppServiceRecordAppServiceRecordAppServiceRecordBooleanGet the ServiceActive
Kind: Instance method of AppServiceRecord
Returns: Boolean - the KEY_SERVICE_ACTIVE value
StringGet the ServiceID
Kind: Instance method of AppServiceRecord
Returns: String - the KEY_SERVICE_ID value
AppServiceManifestGet the ServiceManifest
Kind: Instance method of AppServiceRecord
Returns: AppServiceManifest - the KEY_SERVICE_MANIFEST value
BooleanGet the ServicePublished
Kind: Instance method of AppServiceRecord
Returns: Boolean - the KEY_SERVICE_PUBLISHED value
AppServiceRecordSet 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. |
AppServiceRecordSet 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} |
AppServiceRecordSet 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. |
AppServiceRecordSet 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. |