WifiP2PPeer
Object Hierarchy:
Description:
[
CCode ( lower_case_csuffix =
"wifi_p2p_peer" , type_id =
"nm_wifi_p2p_peer_get_type ()" ) ]
public class WifiP2PPeer :
Object
Content:
Properties:
- public @80211ApFlags flags { get; }
The flags of the P2P peer.
- public string hw_address { get; }
The hardware address of the P2P peer.
- public int last_seen { get; }
The timestamp (in CLOCK_BOOTTIME seconds) for the last time the P2P
peer was found.
- public string manufacturer { get; }
The manufacturer of the P2P peer.
- public string model { get; }
The model of the P2P peer.
- public string model_number { get; }
The hardware address of the P2P peer.
- public string name { get; }
The name of the P2P peer.
- public string serial { get; }
The serial number of the P2P peer.
- public uint8 strength { get; }
The current signal strength of the P2P peer.
- public Bytes wfd_ies { get; }
The WFD information elements of the P2P peer.
Creation methods:
Methods:
- public bool connection_valid (Connection connection)
Validates a given connection against a given Wi-Fi P2P peer to ensure
that the connection may be activated with that peer.
- public GenericArray<unowned Connection> filter_connections (GenericArray<Connection> connections)
Filters a given array of connections for a given
WifiP2PPeer object and returns connections which may be activated with the P2P peer.
- public @80211ApFlags get_flags ()
Gets the flags of the P2P peer.
- public unowned string get_hw_address ()
Gets the hardware address of the P2P peer.
- public int get_last_seen ()
Returns the timestamp (in CLOCK_BOOTTIME seconds) for the last time
the P2P peer was seen.
- public unowned string get_manufacturer ()
Gets the manufacturer of the P2P peer.
- public unowned string get_model ()
Gets the model of the P2P peer.
- public unowned string get_model_number ()
Gets the model number of the P2P peer.
- public unowned string get_name ()
Gets the name of the P2P peer.
- public unowned string get_serial ()
Gets the serial number of the P2P peer.
- public uint8 get_strength ()
Gets the current signal strength of the P2P peer as a percentage.
- public unowned Bytes get_wfd_ies ()
Gets the WFD information elements of the P2P peer.
Inherited Members:
All known members inherited from class NM.Object
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref