15 lines
		
	
	
		
			252 B
		
	
	
	
		
			C#
		
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			252 B
		
	
	
	
		
			C#
		
	
	
| 
								 | 
							
								namespace Guru.Notification
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    using System;
							 | 
						||
| 
								 | 
							
								    public interface INotificationAgent
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        void Init();
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        string GetStatus();
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        bool IsAllowed();
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        void RequestPermission(Action<string> callback = null);
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |