API Documentation
Documentation for developing SailfishOS applicationsMobileNetworkAccessPointSettings Class
(Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings)The setting configuration for a mobile network access point. More...
Header: | #include <mdm-connectivity.h> |
Public Types
enum | GprsAuthentication { None, PAP, CHAP, Any } |
enum | Protocol { IP, IPv4, IPv6, Dual } |
enum | Type { Default, Internet, Mms, Ims } |
Public Functions
bool | isValid() const |
Public Variables
QString | accessPointName |
QString | connectionName |
GprsAuthentication | gprsAuthentication |
QString | password |
Protocol | protocol |
QString | username |
Detailed Description
The setting configuration for a mobile network access point.
These settings include the name of the connection, the access point name of the connection, the protocol (IP, IPv6 or Dual) supported by the connection, the GPRS authentication method defined for the connection, and possibly a username and password if defined.
Member Type Documentation
enum MobileNetworkAccessPointSettings::GprsAuthentication
The GPRS authentication method for access point connections.
Constant | Value | Description |
---|---|---|
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::None | 0 | No authentication. |
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::PAP | 1 | Password Authentication Protocol (PAP). |
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::CHAP | 2 | Challenge-Handshake Authentication Protocol (CHAP). |
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::Any | 3 | Use any available authentication method. |
enum MobileNetworkAccessPointSettings::Protocol
The protocol supported by an access point.
Constant | Value | Description |
---|---|---|
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::IP | 0 | Internet Protocol (IP) version 4. |
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::IPv4 | IP | Synonym for IP . |
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::IPv6 | ? | Internet Protocol version 6 (IPv6). |
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::Dual | ? | Dual-stack IP implementation with both IP and IPv6. |
enum MobileNetworkAccessPointSettings::Type
The type (connection context) of access point being configured.
Constant | Value | Description |
---|---|---|
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::Default | 0 | A default (Internet) data connection context. |
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::Internet | Default | Synonym for Default . |
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::Mms | ? | A multimedia message service connection context. |
Sailfish::Mdm::ConnectivitySettings::MobileNetworkAccessPointSettings::Ims | ? | An IP multimedia subsystem connection context. |
Member Function Documentation
bool MobileNetworkAccessPointSettings::isValid() const
Returns true if the connectionName and accessPointName have been set.
Member Variable Documentation
QString MobileNetworkAccessPointSettings::accessPointName
The name of the access point.
Note: This name cannot contain underscores or spaces.
QString MobileNetworkAccessPointSettings::connectionName
The name of the connection.
GprsAuthentication MobileNetworkAccessPointSettings::gprsAuthentication
The authentication method to use for GPRS connections.
QString MobileNetworkAccessPointSettings::password
The password to use in authentication.
Protocol MobileNetworkAccessPointSettings::protocol
The protocol supported by the access point.
QString MobileNetworkAccessPointSettings::username
The username to use in authentication.