Language

StatusSuggestionApproval Enum

Definition

Identifies an application's network-suggestion approval state.

public enum StatusSuggestionApproval
type StatusSuggestionApproval = 
Inheritance
StatusSuggestionApproval

Fields

Name Value Description
Unknown 0

Status code if suggestion approval status is unknown, an App which hasn't made any suggestions will get this code.

Android reference for android.net.wifi.WifiManager.STATUS_SUGGESTION_APPROVAL_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Pending 1

Status code if the calling app is still pending user approval for suggestions.

Android reference for android.net.wifi.WifiManager.STATUS_SUGGESTION_APPROVAL_PENDING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ApprovedByUser 2

Status code if the calling app got the user approval for suggestions.

Android reference for android.net.wifi.WifiManager.STATUS_SUGGESTION_APPROVAL_APPROVED_BY_USER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RejectedByUser 3

Status code if the calling app suggestions were rejected by the user.

Android reference for android.net.wifi.WifiManager.STATUS_SUGGESTION_APPROVAL_REJECTED_BY_USER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ApprovedByCarrierPrivilege 4

Status code if the calling app was approved by virtue of being a carrier privileged app.

Android reference for android.net.wifi.WifiManager.STATUS_SUGGESTION_APPROVAL_APPROVED_BY_CARRIER_PRIVILEGE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

The codes distinguish pending approval, user approval or rejection, approval through carrier privileges, and an unknown state. They describe authorization to use suggestions, not the result of a network connection.

Applies to