Logo
Developer SDK
Version 1.9.632.913d652c-152450467.
VenueContract Class Reference

Inherits ContentContract< T >.

Static Public Member Functions

static Venue getCurrentVenue (Context context)
 
static int getVenuesCount (Context context)
 
static Venue [] getVenues (Context context)
 

Detailed Description

The contract between the Venue Content Provider and applications. The information is read-only.

Reading information about the current venue requires the "com.verifone.commerce.content.permission.READ_VENUE_INFO" permission. If the permission is not granted, the related queries return null. Reading information about all associated venues requires the "com.verifone.commerce.content.permission.READ_EXTENDED_VENUE_INFO" permission. If the permission is not granted, the related queries return null.

Definition at line 16 of file VenueContract.java.

Member Function Documentation

◆ getCurrentVenue()

static Venue getCurrentVenue ( Context  context)
static

A convenience method for returning information for the current venue.

Definition at line 21 of file VenueContract.java.

◆ getVenues()

static Venue [] getVenues ( Context  context)
static

A convenience method for returning all venues associated with the merchant, including the current venue.

Definition at line 45 of file VenueContract.java.

◆ getVenuesCount()

static int getVenuesCount ( Context  context)
static

A convenience method for returning the count of venues. Returns -1 if unknown, not found, or not yet linked to a merchant.

Definition at line 33 of file VenueContract.java.


The documentation for this class was generated from the following file:

This document is the confidential property of Verifone, Inc. Any reproduction or distribution of this document, in whole or in part, or the disclosure of any of the information contained herein, without the prior written consent of Verifone, Inc. is prohibited. This document and any supplemental material supplied as part of any review must be returned to Verifone, Inc. upon request. Notice: This document may go through material revisions over time. While the Company will make every effort to keep readers updated as changes occur, care must be taken by the reader to make sure they are reading the latest version. Version numbers appear in the title page and revision history page of this document. All rights reserved. Verifone, the Verifone logo are either trademarks or registered trademarks of Verifone in the United States and/or other countries. All other trademarks or brand names are properties of their respective holders.