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

Public Member Functions

def __init__ (self, actionmessage="", actiontype=ACTION_EXECBUILTIN)
 
- 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
 
- Public Attributes inherited from python.xbmcclient.Packet
 sig
 
 minver
 
 majver
 
 seq
 
 maxseq
 
 payloadsize
 
 uid
 
 reserved
 
 payload
 

Detailed Description

An ACTION packet

An ACTION packet tells XBMC to do the action specified, based on the type it knows were it needs to be sent.
The idea is that this will be as in scripting/skining and keymapping, just triggered from afar.

Constructor & Destructor Documentation

◆ __init__()

def python.xbmcclient.PacketACTION.__init__ (   self,
  actionmessage = "",
  actiontype = ACTION_EXECBUILTIN 
)
Keyword arguments:
loglevel -- the loglevel, follows XBMC standard.
logmessage -- the message to log
autoprint -- if the logmessage should automatically be printed to stdout

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