Difference between revisions of "Service"
Jump to navigation
Jump to search
Line 47: | Line 47: | ||
{{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 2.3!''' | {{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 2.3!''' | ||
It provides the list of original images (non resized) associated with this Subscription. The application should use the [[UNIAPI_Specification#ThumboxService| Thumbox Service]] to perform dynamic resizing of the images in order to adapt them to the User Interface. | It provides the list of original images (non resized) associated with this Subscription. The application should use the [[UNIAPI_Specification#ThumboxService| Thumbox Service]] to perform dynamic resizing of the images in order to adapt them to the User Interface. | ||
+ | {{!}}- valign="top" | ||
+ | |||
+ | ! RequiresUserAgreement | ||
+ | {{!}} boolean | ||
+ | {{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 4.1!''' | ||
+ | Indicates if the service needs to be accepted by the user before enjoy it | ||
+ | {{!}}- valign="top" | ||
+ | |||
+ | ! UserAgreementText | ||
+ | {{!}} string | ||
+ | {{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 4.1!''' | ||
+ | Text that will be shown in the agreement pop-up of the service | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
Revision as of 09:23, 28 November 2017
Represents a Service object. Services provide access to an specific feature such as nPVR, RestartTV (Timeshift), etc. Services are not purchased standalone, they are always commercialized inside Subscriptions.
Members
Field | Data Type | Description |
---|---|---|
ID | int | Unique identifier for the Service |
Name | String | The name for the Service |
Description | String | A long description of the Service that will be shown to end users. |
ServiceTypeId | int | The value for the ServiceType enum that indicates the type of service. |
ServiceTypeName | String | The name for the Service Type |
InstanceId | int | InstanceId |
ResizableImages | Array of Image object | NEW IN 2.3!
It provides the list of original images (non resized) associated with this Subscription. The application should use the Thumbox Service to perform dynamic resizing of the images in order to adapt them to the User Interface. |
RequiresUserAgreement | boolean | NEW IN 4.1!
Indicates if the service needs to be accepted by the user before enjoy it |
UserAgreementText | string | NEW IN 4.1!
Text that will be shown in the agreement pop-up of the service |
Example
{
"ID": 51,
"Name": "nPVR Service",
"Description": "Description for nPVR Service",
"ServiceTypeId": 1,
"ServiceTypeName": "Global service",
"InstanceId": 14,
"ResizableImages": [Array of Images]
}
Known issues
None
Version history
API Version Number | Change description | Changes author |
---|---|---|
2.4 | New object. Initial design. | Jose A. Jimenez |
See also
- SubscriptionType enumeration
- SubscriptionStatus enumeration
- SubscriptionService methods
- Thumbox Service for image resizing