android.bluetooth
Class BluetoothClass

java.lang.Object
  extended by android.bluetooth.BluetoothClass
All Implemented Interfaces:
Parcelable

public final class BluetoothClass
extends Object
implements Parcelable


Nested Class Summary
static class BluetoothClass.Device
           
static class BluetoothClass.Service
           
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<BluetoothClass> CREATOR
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Method Summary
 int describeContents()
           
 boolean equals(Object o)
           
 int getDeviceClass()
           
 int getMajorDeviceClass()
           
 int hashCode()
           
 boolean hasService(int service)
           
 String toString()
           
 void writeToParcel(Parcel out, int flags)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATOR

public static final Parcelable.Creator<BluetoothClass> CREATOR
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel out,
                          int flags)
Specified by:
writeToParcel in interface Parcelable

hasService

public boolean hasService(int service)

getMajorDeviceClass

public int getMajorDeviceClass()

getDeviceClass

public int getDeviceClass()


Copyright © 2008-2012. All Rights Reserved.