IM

Version 1.9 - Updated on 02/14/2017

Contents

Introduction

public interface IM extends Item

Stores Instant Message account information.

getAddress

String getAddress()

  • Returns: IM address

getType

String getType()

  • Returns: IM type

getPreference

int getPreference()

  • Returns: Preference number

Builder

class Builder

Class used to build IMinformation to create or update a contact.

Builder

public Builder ()

Constructor used to create an empty IM builder.

Builder

public Builder (IM im)

Constructor used to create an IM builder with pre-populated IM values.

  • Parameters:
    • imIM object as obtained from getContacts methods

setType

public void setType(String type)

Sets the type of the IM. Supported values are:

  • aim
  • google
  • icq
  • jabber
  • msn
  • skype
  • yahoo
  • other

    • Parameters:
      • type — IM type

setPreference

public void setPreference(int preference)

Sets the preference if the IM. Lower numbers indicate a higher preference.

  • Parameters:
    • preference — IM preference

setAddress

public void setAddress(String address)

Sets the IM address.

  • Parameters:
    • address — IM address

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.