Java android.widget QuickContactBadge fields, constructors, methods, implement or subclass

Example usage for Java android.widget QuickContactBadge fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.widget QuickContactBadge.

The text is from its open source code.

Constructor

Method

voidassignContactFromEmail(String emailAddress, boolean lazyLookup)
Assign a contact based on an email address.
voidassignContactFromPhone(String phoneNumber, boolean lazyLookup)
Assign a contact based on a phone number.
voidassignContactUri(Uri contactUri)
Assign the contact uri that this QuickContactBadge should be associated with.
voidsetImageBitmap(Bitmap bm)
Sets a Bitmap as the content of this ImageView.
voidsetImageDrawable(@Nullable Drawable drawable)
Sets a drawable as the content of this ImageView.
voidsetImageResourceAsync") public void setImageResource(@DrawableRes int resId)
Sets a drawable as the content of this ImageView.
voidsetImageToDefault()
Resets the contact photo to the default state.
voidsetImageURIAsync") public void setImageURI(@Nullable Uri uri)
Sets the content of this ImageView to the specified Uri.
voidsetMode(int size)
This call has no effect anymore, as there is only one QuickContact mode