JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::PushNotifications::Notification::Progress Struct Reference

Used to represent a progress of some operation. More...

#include <juce_PushNotifications.h>

Collaboration diagram for juce::PushNotifications::Notification::Progress:

Public Attributes

int current = 0
 Current progress value, should be from 0 to max. More...
 
bool indeterminate = false
 If true, then the progress represents a continuing activity indicator with ongoing animation and no numeric value. More...
 
int max = 0
 Max possible value of a progress. More...
 

Detailed Description

Used to represent a progress of some operation.

Member Data Documentation

◆ current

int juce::PushNotifications::Notification::Progress::current = 0

Current progress value, should be from 0 to max.

◆ indeterminate

bool juce::PushNotifications::Notification::Progress::indeterminate = false

If true, then the progress represents a continuing activity indicator with ongoing animation and no numeric value.

◆ max

int juce::PushNotifications::Notification::Progress::max = 0

Max possible value of a progress.

A typical usecase is to set max to 100 and increment current's value as percentage complete.


The documentation for this struct was generated from the following file: