Class CellularProfile

Definition

Namespace:
Tizen.Network.Connection
Assembly:
Tizen.Network.Connection.dll
API Level:
3

This is the CellularProfile class. It provides functions to manage the cellular profile.

C#
Copy
public class CellularProfile : ConnectionProfile, IDisposable
Inheritance
System.Object
CellularProfile
Implements
System.IDisposable

Properties

View Source

Apn

The APN (access point name).

Declaration
C#
Copy
public string Apn { get; set; }
Property Value
Type Description
System.String

Cellular access point name.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.ArgumentNullException

Thrown during set when a value is null.

System.InvalidOperationException

Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation.

ObjectDisposedException

Thrown when an operation is performed on a disposed object.

API Level: 3
View Source

CellularAuthInfo

The cellular authentication information.

Declaration
C#
Copy
public CellularAuthInformation CellularAuthInfo { get; set; }
Property Value
Type Description
CellularAuthInformation

Instance of CellularAuthInformation.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.ArgumentNullException

Thrown during set when a value is null.

System.InvalidOperationException

Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation.

ObjectDisposedException

Thrown when an operation is performed on a disposed object.

API Level: 3
View Source

Editable

Checks whether the profile is editable.

Declaration
C#
Copy
public bool Editable { get; }
Property Value
Type Description
Boolean

True if the cellular profile is editable, otherwise false.

API Level: 3
View Source

Hidden

Checks whether the profile is hidden.

Declaration
C#
Copy
public bool Hidden { get; }
Property Value
Type Description
Boolean

True if the cellular profile is hidden, otherwise false.

API Level: 3
View Source

HomeUri

The home URL.

Declaration
C#
Copy
public string HomeUri { get; set; }
Property Value
Type Description
System.String

Cellular home URL.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.ArgumentNullException

Thrown during set when a value is null.

System.InvalidOperationException

Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation.

ObjectDisposedException

Thrown when an operation is performed on a disposed object.

API Level: 3
View Source

IsDefault

Checks whether the profile is default.

Declaration
C#
Copy
public bool IsDefault { get; }
Property Value
Type Description
Boolean

True if the cellular profile is default, otherwise false.

API Level: 3
View Source

IsRoaming

Checks whether the connection is in roaming state.

Declaration
C#
Copy
public bool IsRoaming { get; }
Property Value
Type Description
Boolean

True if the cellular profile is in roaming state, otherwise false.

API Level: 6
View Source

PdnType

The cellular pdn type.

Declaration
C#
Copy
public CellularPdnType PdnType { get; set; }
Property Value
Type Description
CellularPdnType

Cellular pdn type.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation.

ObjectDisposedException

Thrown when an operation is performed on a disposed object.

API Level: 3
View Source

RoamingPdnType

The cellular roaming pdn type.

Declaration
C#
Copy
public CellularPdnType RoamingPdnType { get; set; }
Property Value
Type Description
CellularPdnType

Cellular roaming pdn type.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation.

ObjectDisposedException

Thrown when a operation is performed on a disposed object.

API Level: 3
View Source

ServiceType

The service type.

Declaration
C#
Copy
public CellularServiceType ServiceType { get; set; }
Property Value
Type Description
CellularServiceType

Cellular service type.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation.

ObjectDisposedException

Thrown when an operation is performed on a disposed object.

API Level: 3

Methods

View Source

Finalize()

Destroy the CellularProfile object

Declaration
C#
Copy
protected void Finalize()

Implements

System.IDisposable