kodi
Public Member Functions | Public Attributes | List of all members
python.xbmcclient.PacketNOTIFICATION Class Reference
Inheritance diagram for python.xbmcclient.PacketNOTIFICATION:
Inheritance graph
[legend]
Collaboration diagram for python.xbmcclient.PacketNOTIFICATION:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, title, message, icon_type=ICON_NONE, icon_file=None)
 
- Public Member Functions inherited from python.xbmcclient.Packet
def __init__ (self)
 
def append_payload (self, blob)
 
def set_payload (self, payload)
 
def num_packets (self)
 
def get_header (self, packettype=-1, seq=1, maxseq=1, payload_size=0)
 
def get_payload_size (self, seq)
 
def get_udp_message (self, packetnum=1)
 
def send (self, sock, addr, uid=UNIQUE_IDENTIFICATION)
 

Public Attributes

 packettype
 
 title
 
 message
 
- Public Attributes inherited from python.xbmcclient.Packet
 sig
 
 minver
 
 majver
 
 seq
 
 maxseq
 
 payloadsize
 
 uid
 
 reserved
 
 payload
 

Detailed Description

A NOTIFICATION packet

This packet displays a notification window in XBMC. It can contain
a caption, a message and an icon.

Constructor & Destructor Documentation

◆ __init__()

def python.xbmcclient.PacketNOTIFICATION.__init__ (   self,
  title,
  message,
  icon_type = ICON_NONE,
  icon_file = None 
)
Keyword arguments:
title -- the notification caption / title
message -- the main text of the notification
icon_type -- one of ICON_NONE, ICON_JPEG, ICON_PNG, ICON_GIF
icon_file -- location of icon file with respect to current working
     directory if icon_type is not ICON_NONE

The documentation for this class was generated from the following file: