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#Copypublic class CellularProfile : ConnectionProfile, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Properties
Declaration
C#Copypublic 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
Declaration
C#Copypublic 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
Declaration
C#Copypublic bool Editable { get; }
Property Value
Type | Description |
---|---|
Boolean | True if the cellular profile is editable, otherwise false. |
API Level: 3
Declaration
C#Copypublic bool Hidden { get; }
Property Value
Type | Description |
---|---|
Boolean | True if the cellular profile is hidden, otherwise false. |
API Level: 3
Declaration
C#Copypublic 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
Declaration
C#Copypublic bool IsDefault { get; }
Property Value
Type | Description |
---|---|
Boolean | True if the cellular profile is default, otherwise false. |
API Level: 3
Declaration
C#Copypublic bool IsRoaming { get; }
Property Value
Type | Description |
---|---|
Boolean | True if the cellular profile is in roaming state, otherwise false. |
API Level: 6
Declaration
C#Copypublic 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
Declaration
C#Copypublic 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
Declaration
C#Copypublic 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
Declaration
C#Copyprotected void Finalize()