PebbleOS
Loading...
Searching...
No Matches
Macros | Enumerations | Functions
vibe_score_info.h File Reference
#include <pbl/services/vibes/vibe_client.h>
#include <stdbool.h>
#include <stdint.h>

Macros

#define DEFAULT_VIBE_SCORE_NOTIFS   (VibeScoreId_NudgeNudge)
 Default score for notifications; VibeScoreId_StandardShortPulseHigh on Asterix.
 
#define DEFAULT_VIBE_SCORE_INCOMING_CALLS   (VibeScoreId_Pulse)
 Default score for incoming calls.
 
#define DEFAULT_VIBE_SCORE_ALARMS   (VibeScoreId_Reveille)
 Default score for alarms.
 
#define DEFAULT_VIBE_SCORE_HOURLY   (VibeScoreId_Disabled)
 Default score for the hourly vibration.
 
#define DEFAULT_VIBE_SCORE_ON_DISCONNECT   (VibeScoreId_Disabled)
 Default score for phone disconnection.
 

Enumerations

enum  VibeScoreId { VibeScoreId_Invalid = 0 }
 ID of a built-in vibe score. More...
 

Functions

uint32_t vibe_score_info_get_resource_id (VibeScoreId id)
 Get the resource of a vibe score.
 
const char * vibe_score_info_get_name (VibeScoreId id)
 Get the display name of a vibe score.
 
VibeScoreId vibe_score_info_cycle_next (VibeClient client, VibeScoreId curr_id)
 Get the next vibe score available to an alert, in catalog order.
 
bool vibe_score_info_is_valid (VibeScoreId id)
 Check whether a vibe score ID can be used.