Enum expo_server_sdk::Priority [−][src]
pub enum Priority { Default, Normal, High, }
The delivery priority of the message. Specify "default" or omit this field to use the default priority on each platform, which is "normal" on Android and "high" on iOS.
On Android, normal-priority messages won't open network connections on sleeping devices and their delivery may be delayed to conserve the battery. High-priority messages are delivered immediately if possible and may wake sleeping devices to open network connections, consuming energy.
On iOS, normal-priority messages are sent at a time that takes into account power considerations for the device, and may be grouped and delivered in bursts. They are throttled and may not be delivered by Apple. High-priority messages are sent immediately. Normal priority corresponds to APNs priority level 5 and high priority to 10.
See the Expo documentation on message format for more details.
Variants
Default
Normal
High
Trait Implementations
impl Debug for Priority
[src]
impl Debug for Priority
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Priority
[src]
impl Clone for Priority
fn clone(&self) -> Priority
[src]
fn clone(&self) -> Priority
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Default for Priority
[src]
impl Default for Priority
impl FromStr for Priority
[src]
impl FromStr for Priority