kodi
|
Public Member Functions | |
def | __init__ (self, title, message, icon_type=ICON_NONE, icon_file=None) |
![]() | |
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 | |
![]() | |
sig | |
minver | |
majver | |
seq | |
maxseq | |
payloadsize | |
uid | |
reserved | |
payload | |
A NOTIFICATION packet This packet displays a notification window in XBMC. It can contain a caption, a message and an icon.
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