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#
Copy
public class ConnectionItem
Inheritance
System.Object
ConnectionItem

Properties

View Source

State

The state of the current profile for data connection.

Declaration
C#
Copy
public 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
View Source

Type

The type of the current profile for data connection.

Declaration
C#
Copy
public 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.

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