a
    {bi	                     @   s   d Z G dd dZdS )a  
Notification
============

The :class:`Notification` provides access to public methods to create
notifications.

Simple Examples
---------------

To send notification::

    >>> from plyer import notification
    >>> title = 'plyer'
    >>> message = 'This is an example.'
    >>> notification.notify(title=title, message=message)

Android toast notification::

    >>> from plyer import notification
    >>> notification.notify(message='hello', toast=True)

Android simple notification::

    >>> from plyer import notification
    >>> notification.notify(message='hello', toast=True)

Notification with custom icon::

    >>> from plyer import notification
    >>> notification.notify(title='title', message='hello', app_icon=<path>)

.. versionadded:: 1.0.0

.. versionadded:: 1.4.0
   Add implementation of primitive Android popup-like notification (toast)

.. versionchanged:: 1.4.0
   Android implementation now supports custom icons for notifications.
c                   @   s"   e Zd ZdZd
ddZdd Zd	S )Notificationz
    Notification facade.
     
   Fc              	   C   s   | j |||||||d dS )a  
        Send a notification.

        :param title: Title of the notification
        :param message: Message of the notification
        :param app_name: Name of the app launching this notification
        :param app_icon: Icon to be displayed along with the message
        :param timeout: time to display the message for, defaults to 10
        :param ticker: text to display on status bar as the notification
                       arrives
        :param toast: simple Android message instead of full notification
        :type title: str
        :type message: str
        :type app_name: str
        :type app_icon: str
        :type timeout: int
        :type ticker: str
        :type toast: bool

        .. note::
           When called on Windows, ``app_icon`` has to be a path to
           a file in .ICO format.

        .. versionadded:: 1.0.0

        .. versionchanged:: 1.4.0
           Add 'toast' keyword argument
        )titlemessageapp_iconapp_nametimeouttickertoastN)_notify)selfr   r   r   r   r   r	   r
    r   j/Users/vegardjervell/Documents/master/model/venv/lib/python3.9/site-packages/plyer/facades/notification.pynotify0   s
    zNotification.notifyc                 K   s   t dd S )NzNo usable implementation found!)NotImplementedError)r   kwargsr   r   r   r   W   s    zNotification._notifyN)r   r   r   r   r   r   F)__name__
__module____qualname____doc__r   r   r   r   r   r   r   +   s
     
'r   N)r   r   r   r   r   r   <module>   s   *