AI-generated Key Takeaways
-
The Mobile Vision API is now part of ML Kit and is no longer maintained; existing users should migrate to ML Kit.
-
TextBlock
represents a paragraph of recognized text within the (now deprecated) Mobile Vision API. -
It provides methods to access the text content, bounding box, corner points, language, and smaller text components (like lines and elements).
-
Developers can use these methods to process and display recognized text from images.
Parcelable representing a message associated with the wallet object.
For example a message for a new Baconrista loyalty card could have a header:
"Jane, welcome to Banconrista Rewards!"
and body:
"Thanks for joining our program. Show this message to our barista for your first free coffee on us!"
Nested Class Summary
class | WalletObjectMessage.Builder | Builder to create a WalletObjectMessage . |
Inherited Constant Summary
Field Summary
public static final Creator<WalletObjectMessage> | CREATOR |
Public Method Summary
UriData |
getActionUri()
This method is deprecated. This value is unused by the platform and will be
removed in the future.
|
String |
getBody()
Returns the body.
|
TimeInterval |
getDisplayInterval()
Returns the display interval.
|
String |
getHeader()
Returns the header.
|
UriData |
getImageUri()
This method is deprecated. This value is unused by the platform and will be
removed in the future.
|
static WalletObjectMessage.Builder | |
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<WalletObjectMessage> CREATOR
Public Methods
public UriData getActionUri ()
This method is deprecated.
This value is unused by the platform and will be removed in the future.
Returns
- the action uri
public String getBody ()
Returns the body.
public TimeInterval getDisplayInterval ()
Returns the display interval.
public String getHeader ()
Returns the header.
public UriData getImageUri ()
This method is deprecated.
This value is unused by the platform and will be removed in the future.
Returns
- the image uri