-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
537 additions
and
465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
Source/Plugin.LocalNotification/AndroidOption/AndroidLaunch.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
namespace Plugin.LocalNotification.AndroidOption | ||
{ | ||
/// <summary> | ||
/// Launch the App instead of posting the notification to the status bar. | ||
/// Only for use with extremely high-priority notifications demanding the user's immediate attention, | ||
/// such as an incoming phone call or alarm clock that the user has explicitly set to a particular time. | ||
/// If this facility is used for something else, please give the user an option to turn it off and use a normal notification, as this can be extremely disruptive. | ||
/// The system UI may choose to display a heads-up notification, instead of launching this app, while the user is using the device. | ||
/// Apps targeting Android Q 10 (29) and above will have to request a permission (Manifest.permission.USE_FULL_SCREEN_INTENT) in order to use full screen intents. | ||
/// To be launched, the notification must also be posted to a channel with importance level set to IMPORTANCE_HIGH or higher. | ||
/// </summary> | ||
public class AndroidLaunch | ||
{ | ||
/// <summary> | ||
/// Passing true will cause this notification to be sent even if other notifications are suppressed. the default is true. | ||
/// </summary> | ||
public bool InHighPriority { get; set; } = true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
Source/Plugin.LocalNotification/AndroidOption/AndroidProgressBar.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
namespace Plugin.LocalNotification.AndroidOption | ||
{ | ||
/// <summary> | ||
/// Set the progress this notification represents. The platform template will represent this using a ProgressBar. | ||
/// </summary> | ||
public class AndroidProgressBar | ||
{ | ||
/// <summary> | ||
/// Set whether this progress bar is in indeterminate mode | ||
/// </summary> | ||
public bool IsIndeterminate { get; set; } | ||
|
||
/// <summary> | ||
/// Set Upper limit of this progress bar's range | ||
/// </summary> | ||
public int Max { get; set; } | ||
|
||
/// <summary> | ||
/// Set progress bar's current level of progress | ||
/// </summary> | ||
public int Progress { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.