FirebaseVisionBarcode.Address

public static class FirebaseVisionBarcode.Address extends Object

An address.

Nested Class Summary

@interface FirebaseVisionBarcode.Address.AddressType Address type constants. 

Constant Summary

int TYPE_HOME Address type home.
int TYPE_UNKNOWN Address type unknown.
int TYPE_WORK Address type work.

Public Method Summary

String[]
getAddressLines()
Gets formatted address, multiple lines when appropriate.
int
getType()
Gets type of the address.

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_HOME

Address type home.

Constant Value: 2

public static final int TYPE_UNKNOWN

Address type unknown.

Constant Value: 0

public static final int TYPE_WORK

Address type work.

Constant Value: 1

Public Methods

public String[] getAddressLines ()

Gets formatted address, multiple lines when appropriate. This field always contains at least one line.

public int getType ()

Gets type of the address.

See also FirebaseVisionBarcode.Address.AddressType

Reference for Error

Updated Jul 27, 2022

Developer documentation for Firebase

Updated Feb 25, 2025

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 2, 2022