libfeedback-0.0 Reference Manual
Packages
libfeedback-0.0
Lfb
libfeedback-0.0
Description:
Content:
Namespaces:
Lfb
Interfaces:
GdbusFeedback
-
Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-sigxcpu-Feedback.
GdbusFeedbackHaptic
-
Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-sigxcpu-Feedback-Haptic.
Classes:
Event
-
An event triggering feedback to the user
GdbusFeedbackHapticProxy
-
The
GdbusFeedbackHapticProxy
structure contains only private data and should only be accessed using the provided API.
GdbusFeedbackHapticSkeleton
-
The
GdbusFeedbackHapticSkeleton
structure contains only private data and should only be accessed using the provided API.
GdbusFeedbackProxy
-
The
GdbusFeedbackProxy
structure contains only private data and should only be accessed using the provided API.
GdbusFeedbackSkeleton
-
The
GdbusFeedbackSkeleton
structure contains only private data and should only be accessed using the provided API.
Enums:
EventEndReason
-
Enum values used to indicate why the feedbacks for an event ended.
EventState
-
Enum values to indicate the current state of the feedbacks triggered by an event.
Methods:
public
unowned
DBusInterfaceInfo
gdbus_feedback_haptic_interface_info
()
public
uint
gdbus_feedback_haptic_override_properties
(
ObjectClass
klass,
uint
property_id_begin)
public
unowned
DBusInterfaceInfo
gdbus_feedback_interface_info
()
public
uint
gdbus_feedback_override_properties
(
ObjectClass
klass,
uint
property_id_begin)
public
unowned
string
get_app_id
()
Get the application id set via [func@Lfb.
public
unowned
string
get_feedback_profile
()
Gets the currently set feedback profile.
public
unowned
GdbusFeedback
get_proxy
()
This can be used to access the lower level API e.
public
bool
init
(
string
app_id)
throws
Error
Initialize libfeedback.
public
bool
is_initted
()
Gets whether or not libfeedback is initialized.
public
void
set_app_id
(
string
app_id)
Sets the application id.
public
void
set_feedback_profile
(
string
profile)
Sets the active feedback profile to
profile
.
public
void
uninit
()
Uninitialize the library when no longer used.