FirebaseVisionBarcode.Phone

public static class FirebaseVisionBarcode.Phone extends Object

Phone number info.

Nested Class Summary

@interface FirebaseVisionBarcode.Phone.FormatType Phone number format type constants. 

Constant Summary

int TYPE_FAX Fax machine.
int TYPE_HOME Home phone.
int TYPE_MOBILE Mobile phone.
int TYPE_UNKNOWN Unknown phone type.
int TYPE_WORK Work phone.

Public Method Summary

String
getNumber()
Gets phone number.
int
getType()
Gets type of the phone number.

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Constants

public static final int TYPE_FAX

Fax machine.

Constant Value: 3

public static final int TYPE_HOME

Home phone.

Constant Value: 2

public static final int TYPE_MOBILE

Mobile phone.

Constant Value: 4

public static final int TYPE_UNKNOWN

Unknown phone type.

Constant Value: 0

public static final int TYPE_WORK

Work phone.

Constant Value: 1

Public Methods

public String getNumber ()

Gets phone number.

public int getType ()

Gets type of the phone number.

See also FirebaseVisionBarcode.Phone.FormatType

Learn how to create sophisticated customized logic to control how you receive alerts for billing updates and even programmatically respond to them.

Updated Feb 20, 2025

Reference for UploadTask

Updated Jul 27, 2022

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Jun 11, 2024