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
    object
    ConnectionProfile
    CellularProfile
    Implements
    System.IDisposable

    Properties

    View Source

    Apn

    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.

    View Source

    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.

    View Source

    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.

    View Source

    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.

    View Source

    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.

    View Source

    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.

    View Source

    IsRoaming

    Checks whether the connection is in roaming state.

    Declaration
    public bool IsRoaming { get; }
    Property Value
    Type Description
    bool

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

    View Source

    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.

    View Source

    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.

    View Source

    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()

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX