ProtocolInfo
Object Hierarchy:
Description:
Namespace: GUPnP
Package: gupnp-av-1.0
Content:
Properties:
- public DLNAConversion dlna_conversion { get; set construct; }
The DLNA conversion flags.
- public DLNAFlags dlna_flags { get; set construct; }
Various generic DLNA flags.
- public DLNAOperation dlna_operation { get; set construct; }
The DLNA operation flags.
- public string dlna_profile { get; set; }
The DLNA profile of this info.
- public string mime_type { get; set; }
The MIME-type of this info.
- public string network { get; set; }
The network this info is associated with.
- public string[] play_speeds { get; set; }
The allowed play speeds on this info in the form of array of strings.
- public string protocol { get; set; }
The protocol of this info.
Creation methods:
- public ProtocolInfo ()
- public ProtocolInfo.from_string (string protocol_info) throws Error
Parses the
protocol_info
string and creates a new ProtocolInfo object as a result.
Methods:
- public DLNAConversion get_dlna_conversion ()
Get the DLNA conversion flags.
- public DLNAFlags get_dlna_flags ()
Get the gereric DLNA flags.
- public DLNAOperation get_dlna_operation ()
Get the DLNA operation flags.
- public unowned string? get_dlna_profile ()
Get the DLNA profile of this info.
- public unowned string? get_mime_type ()
Get the MIME-type of this info.
- public unowned string? get_network ()
Get the network this info is associated with.
- public unowned string[]? get_play_speeds ()
Get the allowed play speeds on this info in the form of array of strings.
- public unowned string? get_protocol ()
Get the protocol of this info.
- public bool is_compatible (ProtocolInfo info2)
Checks if the given protocolInfo string is compatible with
info
. - public void set_dlna_conversion (DLNAConversion conversion)
Set the DLNA conversion flags.
- public void set_dlna_flags (DLNAFlags flags)
Set the gereric DLNA flags.
- public void set_dlna_operation (DLNAOperation operation)
Set the DLNA operation flags.
- public void set_dlna_profile (string profile)
Set the DLNA profile of this info.
- public void set_mime_type (string mime_type)
Set the MIME-type of this info.
- public void set_network (string network)
Set the network this info is associated with.
- public void set_play_speeds (string speeds)
Set the allowed play speeds on this info in the form of array of strings.
- public void set_protocol (string protocol)
Set the protocol of this info.
- public string? to_string ()
Provides the string representation of this .
Inherited Members:
All known members inherited from class GLib.Object