![]() |
![]() |
![]() |
LibAppStream Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
AsScreenshotServiceAsScreenshotService — Get access to a package screenshot service which matches the current distribution. |
#define AS_TYPE_SCREENSHOT_SERVICE gchar * as_screenshot_service_get_thumbnail_url (AsScreenshotService *self
,const gchar *package_name
); gchar * as_screenshot_service_get_screenshot_url (AsScreenshotService *self
,const gchar *package_name
); AsScreenshotService * as_screenshot_service_new (void
); const gchar * as_screenshot_service_get_base_url (AsScreenshotService *self
); struct AsScreenshotService; struct AsScreenshotServiceClass;
#define AS_TYPE_SCREENSHOT_SERVICE (as_screenshot_service_get_type ())
The type for AsScreenshotService.
gchar * as_screenshot_service_get_thumbnail_url (AsScreenshotService *self
,const gchar *package_name
);
Get the url of a screenshot thumbnail for the package.
|
the AsScreenshotService instance |
|
. The name of the package which the screenshot belongs to. [in] |
gchar * as_screenshot_service_get_screenshot_url (AsScreenshotService *self
,const gchar *package_name
);
Get the url of a screenshot for the package.
|
the AsScreenshotService instance |
|
. The name of the package which the screenshot belongs to. [in] |
const gchar * as_screenshot_service_get_base_url (AsScreenshotService *self
);
Get and return the current value of the "base-url" property.
|
the AsScreenshotService instance to query |
Returns : |
the value of the "base-url" property |
struct AsScreenshotService { GObject parent_instance; AsScreenshotServicePrivate * priv; };
Get access to a package screenshot service which matches the current distribution.
struct AsScreenshotServiceClass { GObjectClass parent_class; };
The class structure for AS_TYPE_SCREENSHOT_SERVICE
. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |