-
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.
Added ios notification action icon support
- Loading branch information
Showing
5 changed files
with
72 additions
and
6 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
18 changes: 18 additions & 0 deletions
18
Source/Plugin.LocalNotification/iOSOption/iOSActionIcon.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,18 @@ | ||
namespace Plugin.LocalNotification.iOSOption | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public class iOSActionIcon | ||
{ | ||
/// <summary> | ||
/// Defuat is None | ||
/// </summary> | ||
public iOSActionIconType Type { get; set; } = iOSActionIconType.None; | ||
|
||
/// <summary> | ||
/// Image Name | ||
/// </summary> | ||
public string Name { get; set; } = string.Empty; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
Source/Plugin.LocalNotification/iOSOption/iOSActionIconType.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,20 @@ | ||
namespace Plugin.LocalNotification.iOSOption | ||
{ | ||
public enum iOSActionIconType | ||
Check warning on line 3 in Source/Plugin.LocalNotification/iOSOption/iOSActionIconType.cs GitHub Actions / nuget
Check warning on line 3 in Source/Plugin.LocalNotification/iOSOption/iOSActionIconType.cs GitHub Actions / nuget
|
||
{ | ||
/// <summary> | ||
/// No Image is set | ||
/// </summary> | ||
None, | ||
|
||
/// <summary> | ||
/// Creates an action icon by using a system symbol image. | ||
/// </summary> | ||
System, | ||
|
||
/// <summary> | ||
/// Creates an action icon based on an image in your app’s bundle, preferably in an asset catalog. | ||
/// </summary> | ||
Template | ||
} | ||
} |