Class MerchantDevicesV2Contract


  • public final class MerchantDevicesV2Contract
    extends Object
    Devices associated with this merchant. This class is the contract between an app and the merchant devices content provider. Use it by querying the content provider with a ContentResolver supplying the URI MerchantDevicesV2Contract.Device.CONTENT_URI. Cursor c = getContentResolver().query(MerchantDevicesV2Contract.Device.CONTENT_URI, null, null, null, null);

    The contract provider backing this contract is read-only; you may only query it and attempting to mutate the data therein via insert, update, or delete will result in a permission exception.

    Most clients will be interested in obtaining information about the current device. For this see the MerchantDevicesV2Connector.getDevice().

    See Also:
    MerchantDevicesV2Connector