Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## com.skype.api
Enum Contact.AUTHLEVEL

    java.lang.Object
      java.lang.Enum<Contact.AUTHLEVEL>
          com.skype.api.Contact.AUTHLEVEL

All Implemented Interfaces:
  java.io.Serializable, java.lang.Comparable<Contact.AUTHLEVEL>

Enclosing class:
  Contact

    public static enum Contact.AUTHLEVEL

extends java.lang.Enum<Contact.AUTHLEVEL>

Describes the recognized relational states between a local account and a remote contact.

Enum Constant Summary
`AUTHORIZED_BY_ME` Contact has been authorized by the local account.
`BLOCKED_BY_ME` Contact has been blocked by the local account.
`NONE` Authorization request is either ignored or pending.

Method Summary
`static Contact.AUTHLEVEL` | `fromString(java.lang.String s)`
`static Contact.AUTHLEVEL` | `get(int code)`
`int` | `getId()`
`static Contact.AUTHLEVEL` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
`static Contact.AUTHLEVEL[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Enum Constant Detail

### NONE

    public static final Contact.AUTHLEVEL NONE

  Authorization request is either ignored or pending. In this state several functionalities may be blocked, depending on settings. For example, accounts may only allow seeing online presence to be viewable or only receive calls from authorized contacts.

### AUTHORIZED_BY_ME

    public static final Contact.AUTHLEVEL AUTHORIZED_BY_ME

  Contact has been authorized by the local account.

### BLOCKED_BY_ME

    public static final Contact.AUTHLEVEL BLOCKED_BY_ME

  Contact has been blocked by the local account. This prevents incoming calls, chat messages, additional authorization requests etc.

Method Detail

### values

    public static Contact.AUTHLEVEL[] values()

  Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

      for (Contact.AUTHLEVEL c : Contact.AUTHLEVEL.values())
          System.out.println(c);

  Returns:
    an array containing the constants of this enum type, in the order they are declared

### valueOf

    public static Contact.AUTHLEVEL valueOf(java.lang.String name)

  Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

  Parameters:
    `name` - the name of the enum constant to be returned.
  Returns:
    the enum constant with the specified name
  Throws:
    `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
    `java.lang.NullPointerException` - if the argument is null

### getId

    public int getId()

### get

    public static Contact.AUTHLEVEL get(int code)

### fromString

    public static Contact.AUTHLEVEL fromString(java.lang.String s)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.