All Classes Namespaces Files Functions Pages
WirelessEndpoint.DeviceInfo Class Reference

Device information of the wireless endpoint. More...

Methods

 BatteryLevel.Get
 Returns the device's battery level. More...
 
 Description.Get
 Returns a textual description of the object.
 
 GivenName.Get
 Returns the user-provided device name. More...
 
 Network.Info.Get
 Return the networkInfoObject containing all the network information of the Wireless Endpoint. More...
 
 Network.Info.Monitor.Add
 Creates a networkInfo monitor containing all the network information of the Wireless Endpoint. More...
 
 Network.Info.Monitor.Get
 Return the networkInfo monitor containing all the network information of the Wireless Endpoint. More...
 
 Os.Type.Get
 Returns the OS type. More...
 
 Os.Version.Get
 Returns the OS version. More...
 
 Parent.Get
 Returns the parent object.
 
 Type.Get
 Returns the type of device. I.e "iPad Air", "iPhone 6S", "Nexus 5x", etc... More...
 

Class overview

Device information of the wireless endpoint.

Contains all usefull device information of a wireless endpoint like OS,Network,Battery etc...

Since
2.6.0
Example
1 set device [ $meeting_point Device.Get $uuid ] ;# we got a WirelessEndpoint
2  set deviceInfo [ $device Device.Info.Get ]
3  printing battery level
4  puts "battery: [ $deviceInfo BatteryLevel.Get ]"

Definition at line 24750 of file api.tcl.

Method documentation

WirelessEndpoint.DeviceInfo::BatteryLevel.Get

Returns the device's battery level.

Example
1 $deviceInfo BatteryLevel.Get

Returns:

100 

Definition at line 24760 of file api.tcl.

WirelessEndpoint.DeviceInfo::GivenName.Get

Returns the user-provided device name.

Example
1 $deviceInfo GivenName.Get

Returns:

iPhone excentis 

Definition at line 24775 of file api.tcl.

WirelessEndpoint.DeviceInfo::Network.Info.Get

Return the networkInfoObject containing all the network information of the Wireless Endpoint.

Returns
<WirelessEndpoint.NetworkInfo object>
Example
1 $deviceInfo Network.Info.Get

Returns:

<WirelessEndpoint.NetworkInfo object> 

Definition at line 24787 of file api.tcl.

WirelessEndpoint.DeviceInfo::Network.Info.Monitor.Add

Creates a networkInfo monitor containing all the network information of the Wireless Endpoint.

Returns
<WirelessEndpoint.NetworkInfoMonitor object>
Example
1 $deviceInfo Network.Info.Monitor.Add

Returns:

<WirelessEndpoint.NetworkInfoMonitor object> 

Definition at line 24799 of file api.tcl.

WirelessEndpoint.DeviceInfo::Network.Info.Monitor.Get

Return the networkInfo monitor containing all the network information of the Wireless Endpoint.

Returns
<WirelessEndpoint.NetworkInfoMonitor object>
Example
1 $deviceInfo Network.Info.Monitor.Get

Returns:

<WirelessEndpoint.NetworkInfoMonitor object> 

Definition at line 24811 of file api.tcl.

WirelessEndpoint.DeviceInfo::Os.Type.Get

Returns the OS type.

Example
1 $deviceInfo Os.Type.Get

Returns:

iOS 

Definition at line 24821 of file api.tcl.

WirelessEndpoint.DeviceInfo::Os.Version.Get

Returns the OS version.

Example
1 $deviceInfo Os.Version.Get

Returns:

9.0.1 

Definition at line 24831 of file api.tcl.

WirelessEndpoint.DeviceInfo::Type.Get

Returns the type of device. I.e "iPad Air", "iPhone 6S", "Nexus 5x", etc...

Example
1 $deviceInfo Type.Get

Returns:

"iPhone 6S" 

Definition at line 24846 of file api.tcl.