Ag.Service – libaccounts-glib Reference Manual
Packages
libaccounts-glib
Ag
Service
list_free
@ref
get_description
get_display_name
get_file_contents
get_i18n_domain
get_icon_name
get_name
get_provider
get_service_type
get_tags
has_tag
unref
Service
Object Hierarchy:
Description:
[
CCode
( ref_function =
"ag_service_ref"
, type_id =
"ag_service_get_type ()"
, unref_function =
"ag_service_unref"
) ]
[
Compact
]
public
class
Service
Opaque structure.
Use related accessor functions.
Namespace:
Ag
Package:
libaccounts-glib
Content:
Static methods:
public
static
void
list_free
(
List
<
Service
> list)
Methods:
public
Service
@ref
()
Adds a reference to
this
.
public
unowned
string
get_description
()
Gets the description of the
Service
.
public
unowned
string
get_display_name
()
Gets the display name of the
Service
.
public
void
get_file_contents
(
string
contents,
size_t
data_offset)
Gets the contents of the XML service file.
public
unowned
string
get_i18n_domain
()
Gets the translation domain of the
Service
.
public
unowned
string
get_icon_name
()
Gets the icon name of the
Service
.
public
unowned
string
get_name
()
Gets the name of the
Service
.
public
unowned
string
get_provider
()
Gets the provider name of the
Service
.
public
unowned
string
get_service_type
()
Gets the service type of the
Service
.
public
List
<
unowned
string
>
get_tags
()
Get list of tags specified for the
Service
.
public
bool
has_tag
(
string
tag)
Checks if the
Service
has the requested tag.
public
void
unref
()
Used to unreference the
Service
structure.