public class SecureProfileEvent extends java.lang.Object implements BluetoothDeviceEvent
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<SecureProfileEvent> |
CREATOR |
protected static java.lang.String |
PARCELABLE_DEVICE_LIST |
protected static java.lang.String |
PARCELABLE_EVENT_TYPE |
protected static java.lang.String |
PARCELABLE_TIMESTAMP |
| Constructor and Description |
|---|
SecureProfileEvent(long timestamp,
EventType eventType,
java.util.List<ISecureProfile> devices) |
| Modifier and Type | Method and Description |
|---|---|
static SecureProfileEvent |
createNewDiscovered(ISecureProfile secureProfile,
long timestamp) |
static SecureProfileEvent |
createNewLost(ISecureProfile secureProfile,
long timestamp) |
static SecureProfileEvent |
createNewUpdated(java.util.List<ISecureProfile> secureProfiles,
long timestamp) |
int |
describeContents() |
java.util.List<? extends RemoteBluetoothDevice> |
getDeviceList() |
DeviceProfile |
getDeviceProfile() |
EventType |
getEventType() |
java.util.List<ISecureProfile> |
getSecureProfileDevices() |
long |
getTimestamp() |
static SecureProfileEvent |
of(SecureProfileEvent event,
java.util.List<ISecureProfile> devices) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<SecureProfileEvent> CREATOR
protected static final java.lang.String PARCELABLE_EVENT_TYPE
protected static final java.lang.String PARCELABLE_DEVICE_LIST
protected static final java.lang.String PARCELABLE_TIMESTAMP
public SecureProfileEvent(long timestamp,
EventType eventType,
java.util.List<ISecureProfile> devices)
public static SecureProfileEvent of(SecureProfileEvent event, java.util.List<ISecureProfile> devices)
public static SecureProfileEvent createNewDiscovered(ISecureProfile secureProfile, long timestamp)
public static SecureProfileEvent createNewUpdated(java.util.List<ISecureProfile> secureProfiles, long timestamp)
public static SecureProfileEvent createNewLost(ISecureProfile secureProfile, long timestamp)
public long getTimestamp()
getTimestamp in interface BluetoothDeviceEventpublic EventType getEventType()
getEventType in interface BluetoothDeviceEventpublic DeviceProfile getDeviceProfile()
getDeviceProfile in interface BluetoothDeviceEventpublic java.util.List<ISecureProfile> getSecureProfileDevices()
public java.util.List<? extends RemoteBluetoothDevice> getDeviceList()
getDeviceList in interface BluetoothDeviceEventpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable