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.
public class CellularProfile : ConnectionProfile, IDisposable
- Inheritance
- Implements
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 |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
ArgumentNullException | Thrown during set when a value is null. |
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 SourceCellularAuthInfo
The cellular authentication information.
Declaration
public CellularAuthInformation CellularAuthInfo { get; set; }
Property Value
Type | Description |
---|---|
CellularAuthInformation | Instance of CellularAuthInformation. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
ArgumentNullException | Thrown during set when a value is null. |
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 SourceEditable
Checks whether the profile is editable.
Declaration
public bool Editable { get; }
Property Value
Type | Description |
---|---|
Boolean | True if the cellular profile is editable, otherwise false. |
API Level: 3
View SourceHidden
Checks whether the profile is hidden.
Declaration
public bool Hidden { get; }
Property Value
Type | Description |
---|---|
Boolean | True if the cellular profile is hidden, otherwise false. |
API Level: 3
View SourceHomeUri
The home URL.
Declaration
public string HomeUri { get; set; }
Property Value
Type | Description |
---|---|
String | Cellular home URL. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
ArgumentNullException | Thrown during set when a value is null. |
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 SourceIsDefault
Checks whether the profile is default.
Declaration
public bool IsDefault { get; }
Property Value
Type | Description |
---|---|
Boolean | True if the cellular profile is default, otherwise false. |
API Level: 3
View SourceIsRoaming
Checks whether the connection is in roaming state.
Declaration
public bool IsRoaming { get; }
Property Value
Type | Description |
---|---|
Boolean | True if the cellular profile is in roaming state, otherwise false. |
API Level: 6
View SourcePdnType
The cellular pdn type.
Declaration
public CellularPdnType PdnType { get; set; }
Property Value
Type | Description |
---|---|
CellularPdnType | Cellular pdn type. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
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 SourceRoamingPdnType
The cellular roaming pdn type.
Declaration
public CellularPdnType RoamingPdnType { get; set; }
Property Value
Type | Description |
---|---|
CellularPdnType | Cellular roaming pdn type. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
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 SourceServiceType
The service type.
Declaration
public CellularServiceType ServiceType { get; set; }
Property Value
Type | Description |
---|---|
CellularServiceType | Cellular service type. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
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 SourceFinalize()
Destroy the CellularProfile object
Declaration
protected void Finalize()