From 65b9ffaba7e2059fc59d931ed1ca1cbb9664aab4 Mon Sep 17 00:00:00 2001 From: Theo Yuan Date: Fri, 27 Sep 2024 16:34:39 +0800 Subject: [PATCH] feat: add the push type called complication --- src/request/notification/options.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/request/notification/options.rs b/src/request/notification/options.rs index b8e433a..5bcd577 100644 --- a/src/request/notification/options.rs +++ b/src/request/notification/options.rs @@ -40,6 +40,8 @@ pub enum PushType { /// The push type for notifications that provide information about an incoming /// Voice-over-IP (VoIP) call. Voip, + /// The push type for notifications that contain update information for a watchOS app’s complications + Complication, /// The push type to signal changes to a File Provider extension. FileProvider, /// The push type for notifications that tell managed devices to contact the @@ -59,6 +61,7 @@ impl fmt::Display for PushType { PushType::Background => "background", PushType::Location => "location", PushType::Voip => "voip", + PushType::Complication => "complication", PushType::FileProvider => "fileprovider", PushType::Mdm => "mdm", PushType::LiveActivity => "liveactivity",