Module vlc :: Class Renderer
[hide private]
[frames] | no frames]

Class Renderer

source code

object --+    
         |    
    _Ctype --+
             |
            Renderer

N/A

Instance Methods [hide private]
 
hold(self)
Hold a renderer item, i.e.
source code
 
release(self)
Releases a renderer item, i.e.
source code
 
name(self)
Get the human readable name of a renderer item.
source code
 
type(self)
Get the type (not translated) of a renderer item.
source code
 
icon_uri(self)
Get the icon uri of a renderer item.
source code
 
flags(self)
Get the flags of a renderer item See LIBVLC_RENDERER_CAN_AUDIO See LIBVLC_RENDERER_CAN_VIDEO.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, ptr=<__builtin__.object object>)
(INTERNAL) ctypes wrapper constructor.
source code

Inherited from _Ctype: from_param

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(cls, ptr=<__builtin__.object object>)
Static Method

source code 

(INTERNAL) ctypes wrapper constructor.

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

hold(self)

source code 

Hold a renderer item, i.e. creates a new reference This functions need to called from the libvlc_RendererDiscovererItemAdded callback if the libvlc user wants to use this item after. (for display or for passing it to the mediaplayer for example).

Returns:
the current item.

Version: LibVLC 3.0.0 or later.

release(self)

source code 

Releases a renderer item, i.e. decrements its reference counter.

Version: LibVLC 3.0.0 or later.

name(self)

source code 

Get the human readable name of a renderer item.

Returns:
the name of the item (can't be None, must *not* be freed).

Version: LibVLC 3.0.0 or later.

type(self)

source code 

Get the type (not translated) of a renderer item. For now, the type can only be "chromecast" ("upnp", "airplay" may come later).

Returns:
the type of the item (can't be None, must *not* be freed).

Version: LibVLC 3.0.0 or later.

icon_uri(self)

source code 

Get the icon uri of a renderer item.

Returns:
the uri of the item's icon (can be None, must *not* be freed).

Version: LibVLC 3.0.0 or later.

flags(self)

source code 

Get the flags of a renderer item See LIBVLC_RENDERER_CAN_AUDIO See LIBVLC_RENDERER_CAN_VIDEO.

Returns:
bitwise flag: capabilities of the renderer, see.

Version: LibVLC 3.0.0 or later.