Class ConnectionItem
Definition
- Namespace:
- Tizen.Network.Connection
- Assembly:
- Tizen.Network.Connection.dll
- API Level:
- 3
This class contains connection information, such as connection type and state.
C#Copypublic class ConnectionItem
- Inheritance
-
System.ObjectConnectionItem
Properties
Declaration
C#Copypublic ConnectionState State { get; }
Property Value
Type | Description |
---|---|
ConnectionState | Connection state of the current connection type. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when a feature is not supported. |
UnauthorizedAccessException | Thrown when a permission is denied. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/network.get
Feature: http://tizen.org/feature/network.ethernethttp://tizen.org/feature/network.telephonyhttp://tizen.org/feature/network.tethering.bluetoothhttp://tizen.org/feature/network.wifi
Declaration
C#Copypublic ConnectionType Type { get; }
Property Value
Type | Description |
---|---|
ConnectionType | Data connection current profile. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when a feature is not supported. |
UnauthorizedAccessException | Thrown when a permission is denied. |