PebbleOS
Loading...
Searching...
No Matches
Enumerations | Functions
Vibe clients

Vibe score selected by the user for each kind of alert. More...

Enumerations

enum  VibeClient {
  VibeClient_Notifications = 0 , VibeClient_PhoneCalls , VibeClient_Alarms , VibeClient_AlarmsLPM ,
  VibeClient_Hourly , VibeClient_OnDisconnect
}
 Kind of alert that vibrates. More...
 

Functions

VibeScore * vibe_client_get_score (VibeClient client)
 Load the vibe score for an alert, as set in the alert preferences.
 

Detailed Description

Vibe score selected by the user for each kind of alert.

Enumeration Type Documentation

◆ VibeClient

enum VibeClient

Kind of alert that vibrates.

Enumerator
VibeClient_Notifications 

Notifications.

VibeClient_PhoneCalls 

Incoming phone calls.

VibeClient_Alarms 

Alarms.

VibeClient_AlarmsLPM 

Alarms in low power mode, which always use a fixed score.

VibeClient_Hourly 

Hourly vibration.

VibeClient_OnDisconnect 

Phone disconnection.

Function Documentation

◆ vibe_client_get_score()

VibeScore * vibe_client_get_score ( VibeClient  client)

Load the vibe score for an alert, as set in the alert preferences.

Parameters
clientKind of alert.
Returns
Score to be freed with vibe_score_destroy(), or NULL if vibration is disabled for the client or the score could not be loaded.