JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
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.
 
bool indeterminate = false
 If true, then the progress represents a continuing activity indicator with ongoing animation and no numeric value.
 
int max = 0
 Max possible value of a progress.
 

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: