Class CellularProfile
Definition
- Namespace:
- Tizen.Network.Connection
- Assembly:
- Tizen.Network.Connection.dll
This is the CellularProfile class. It provides functions to manage the cellular profile.
public class CellularProfile : ConnectionProfile, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Properties
View SourceApn
The APN (access point name).
Declaration
public string Apn { get; set; }
Property Value
Type | Description |
---|---|
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. |
System.ObjectDisposedException | Thrown when an operation is performed on a disposed object. |
CellularAuthInfo
The cellular authentication information.
Declaration
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. |
System.ObjectDisposedException | Thrown when an operation is performed on a disposed object. |
Editable
Checks whether the profile is editable.
Declaration
public bool Editable { get; }
Property Value
Type | Description |
---|---|
bool | True if the cellular profile is editable, otherwise false. |
Hidden
Checks whether the profile is hidden.
Declaration
public bool Hidden { get; }
Property Value
Type | Description |
---|---|
bool | True if the cellular profile is hidden, otherwise false. |
HomeUri
The home URL.
Declaration
public string HomeUri { get; set; }
Property Value
Type | Description |
---|---|
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. |
System.ObjectDisposedException | Thrown when an operation is performed on a disposed object. |
IsDefault
Checks whether the profile is default.
Declaration
public bool IsDefault { get; }
Property Value
Type | Description |
---|---|
bool | True if the cellular profile is default, otherwise false. |
PdnType
The cellular pdn type.
Declaration
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. |
System.ObjectDisposedException | Thrown when an operation is performed on a disposed object. |
RoamingPdnType
The cellular roaming pdn type.
Declaration
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. |
System.ObjectDisposedException | Thrown when a operation is performed on a disposed object. |
ServiceType
The service type.
Declaration
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. |
System.ObjectDisposedException | Thrown when an operation is performed on a disposed object. |
Methods
View Source~CellularProfile()
Destroy the CellularProfile object
Declaration
protected ~CellularProfile()