Logo
Developer SDK
Version 1.9.632.913d652c-152450467.
Device Class Reference
Inheritance diagram for Device:
BaseParcel

Public Member Functions

String getDeviceId ()
 
String getDeviceName ()
 
 Device (Parcel in, int parcelVersion)
 
void writeToParcel (Parcel dest, int flags)
 
- Public Member Functions inherited from BaseParcel
 BaseParcel (Parcel in, int parcelVersion)
 
void setParcelVersion (int targetParcelVersion)
 
final int getParcelVersion ()
 
String getClassName ()
 
void writeToParcel (Parcel dest, int flags)
 
int describeContents ()
 

Static Public Attributes

static final Creator< DeviceCREATOR
 
- Static Public Attributes inherited from BaseParcel
static final Parcelable.Creator< BaseParcelCREATOR
 

Additional Inherited Members

- Static Protected Member Functions inherited from BaseParcel
static void safelySetParcelVersion (final int targetParcelVersion, @Nullable BaseParcel item)
 
static void safelySetParcelVersion (final int targetParcelVersion, @Nullable List<? extends BaseParcel > items)
 
static< T extends BaseParcel > void safelySetParcelVersion (final int targetParcelVersion, @Nullable T[] items)
 

Detailed Description

Represents a device.

Definition at line 20 of file Device.java.

Member Function Documentation

◆ getDeviceId()

String getDeviceId ( )

The unique, logical ID for the device.

Definition at line 33 of file Device.java.

◆ getDeviceName()

String getDeviceName ( )

The name of the device, as set by the merchant. This returns the default device name if not configured by the merchant. This name may change based on merchant preference.

Definition at line 40 of file Device.java.

Member Data Documentation

◆ CREATOR

final Creator<Device> CREATOR
static
Initial value:
= new Device.ParcelCreator<Device>() {
@Override
public Device createFromParcel(Parcel source) {
BaseParcel createdObject = super.createFromParcel(source);
if (createdObject == null || !Device.class.isInstance(createdObject))
return new Device(source, getRecommendedParcelVersion());
else
return (Device) createdObject;
}
@Override
public Device[] newArray(int size) {
return new Device[size];
}
}

Definition at line 51 of file Device.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.