to top
AFEX APIs
public class

WifiConfigWep

extends Object
implements Parcelable
java.lang.Object
   ↳ com.ardic.android.parcelables.WifiConfigWep

Class Overview

Implementation of Parcelable Interface for Wi-Fi Configuration WEP settings

See also:

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<WifiConfigWep> CREATOR
Public Constructors
WifiConfigWep(int wepKeyIndex, String wepKeyAtIndex0, String wepKeyAtIndex1, String wepKeyAtIndex2, String wepKeyAtIndex3)
Constructor method for Wi-Fi APN Configuration attributes related to WEP.
Public Methods
int describeContents()
String getWepKeyAtIndex0()
Returns key stored in WEP index zero.
String getWepKeyAtIndex1()
Returns key stored in WEP index one.
String getWepKeyAtIndex2()
Returns key stored in WEP index two.
String getWepKeyAtIndex3()
Returns key stored in WEP index three.
int getWepKeyIndex()
Returns Active WEP Key Index.
void setWepKeyAtIndex0(String wepKeyAtIndex0)
Sets key stored in WEP index zero.
void setWepKeyAtIndex1(String wepKeyAtIndex1)
Sets key stored in WEP index one.
void setWepKeyAtIndex2(String wepKeyAtIndex2)
Sets key stored in WEP index two.
void setWepKeyAtIndex3(String wepKeyAtIndex3)
Sets key stored in WEP index three.
void setWepKeyIndex(int wepKeyIndex)
Sets Active WEP Key Index.
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<WifiConfigWep> CREATOR

Added in API level 1

Public Constructors

public WifiConfigWep (int wepKeyIndex, String wepKeyAtIndex0, String wepKeyAtIndex1, String wepKeyAtIndex2, String wepKeyAtIndex3)

Added in API level 1

Constructor method for Wi-Fi APN Configuration attributes related to WEP.

Parameters
wepKeyIndex int: Active WEP key index.
wepKeyAtIndex0 String: password at index zero.
wepKeyAtIndex1 String: password at index one.
wepKeyAtIndex2 String: password at index two.
wepKeyAtIndex3 String: password at index three.

Public Methods

public int describeContents ()

Added in API level 1

Returns
int

public String getWepKeyAtIndex0 ()

Added in API level 1

Returns key stored in WEP index zero.

Returns
String key stored in WEP index zero. When the value is read, the actual key is not returned, just a "*" if the key has a value, or the null string otherwise.

public String getWepKeyAtIndex1 ()

Added in API level 1

Returns key stored in WEP index one. When the value is read, the actual key is not returned, just a "*" if the key has a value, or the null string otherwise.

Returns
String key stored in WEP index one.

public String getWepKeyAtIndex2 ()

Added in API level 1

Returns key stored in WEP index two. When the value is read, the actual key is not returned, just a "*" if the key has a value, or the null string otherwise.

Returns
String key stored in WEP index two.

public String getWepKeyAtIndex3 ()

Added in API level 1

Returns key stored in WEP index three. When the value is read, the actual key is not returned, just a "*" if the key has a value, or the null string otherwise.

Returns
String wepKeyAtIndex3 key stored in WEP index three.

public int getWepKeyIndex ()

Added in API level 1

Returns Active WEP Key Index.

Returns
int wepKeyIndex Active WEP Key Index integer larger than or equal to zero and smaller than four.

public void setWepKeyAtIndex0 (String wepKeyAtIndex0)

Added in API level 1

Sets key stored in WEP index zero. Either an ASCII string enclosed in double quotation marks (e.g., "abcdef") or a string of hex digits (e.g., 0102030405).

Parameters
wepKeyAtIndex0 String: key stored in WEP index zero.

public void setWepKeyAtIndex1 (String wepKeyAtIndex1)

Added in API level 1

Sets key stored in WEP index one. Either an ASCII string enclosed in double quotation marks (e.g., "abcdef") or a string of hex digits (e.g., 0102030405).

Parameters
wepKeyAtIndex1 String: key stored in WEP index one.

public void setWepKeyAtIndex2 (String wepKeyAtIndex2)

Added in API level 1

Sets key stored in WEP index two. Either an ASCII string enclosed in double quotation marks (e.g., "abcdef") or a string of hex digits (e.g., 0102030405).

Parameters
wepKeyAtIndex2 String: key stored in WEP index two.

public void setWepKeyAtIndex3 (String wepKeyAtIndex3)

Added in API level 1

Sets key stored in WEP index three. Either an ASCII string enclosed in double quotation marks (e.g., "abcdef") or a string of hex digits (e.g., 0102030405).

Parameters
wepKeyAtIndex3 String: key stored in WEP index three.

public void setWepKeyIndex (int wepKeyIndex)

Added in API level 1

Sets Active WEP Key Index.

Parameters
wepKeyIndex int: Active WEP Key Index integer larger or equal to zero and smaller than four.

public void writeToParcel (Parcel dest, int flags)

Added in API level 1

Parameters
dest Parcel
flags int