A media service APIs module.
More...
A media service APIs module.
A SHI_Service object represents information about a service.
Gets the details of this service.
These details are returned as a tree of SHI_Attribute objects that represent detailed information about the service. If no details are available for this service, this method returns SHI_ERROR_NOT_AVAILABLE.
- Parameters
-
self | The SHI_Service whose details will be returned. |
details | Address of a SHI_Attribute pointer that will be set to refer to a SHI_Attribute object containing the details. |
Gets basic information about this service.
- Parameters
-
self | The SHI_Service for which the information is obtained. |
info | A pointer to a SHI_ServiceInfo structure in which the information will be returned. |
Obtains a pointer to a SHI_Service object with a different interface.
This method returns NULL if the object does not implement the requested interface.
- Parameters
-
self | The SHI_Service whose interface will be returned. |
iface_id | The ID of the interface that is requested. |
- Returns
- A pointer to the requested interface, or NULL if the object does not implement it.
Releases this service object.
The object can no longer be used after this method returns. All objects obtained from method calls to this object must be released before this object is released.
- Parameters
-
self | The SHI_Service to release. |