Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 82

javax.bluetooth
Interface ServiceRecord


public interface ServiceRecord

This interface is defined by the JSR-82 specification Java™ APIs for Bluetooth™ Wireless Technology, Version 1.1.


Field Summary
static int AUTHENTICATE_ENCRYPT
           
static int AUTHENTICATE_NOENCRYPT
           
static int NOAUTHENTICATE_NOENCRYPT
           
 
Method Summary
 int[] getAttributeIDs()
           
 DataElement getAttributeValue(int attrID)
           
 java.lang.String getConnectionURL(int requiredSecurity, boolean mustBeMaster)
           
 RemoteDevice getHostDevice()
           
 boolean populateRecord(int[] attrIDs)
           
 boolean setAttributeValue(int attrID, DataElement attrValue)
           
 void setDeviceServiceClasses(int classes)
           
 

Field Detail

NOAUTHENTICATE_NOENCRYPT

static final int NOAUTHENTICATE_NOENCRYPT
See Also:
Constant Field Values

AUTHENTICATE_NOENCRYPT

static final int AUTHENTICATE_NOENCRYPT
See Also:
Constant Field Values

AUTHENTICATE_ENCRYPT

static final int AUTHENTICATE_ENCRYPT
See Also:
Constant Field Values
Method Detail

getAttributeValue

DataElement getAttributeValue(int attrID)

getHostDevice

RemoteDevice getHostDevice()

getAttributeIDs

int[] getAttributeIDs()

populateRecord

boolean populateRecord(int[] attrIDs)
                       throws java.io.IOException
Throws:
java.io.IOException

getConnectionURL

java.lang.String getConnectionURL(int requiredSecurity,
                                  boolean mustBeMaster)

setDeviceServiceClasses

void setDeviceServiceClasses(int classes)

setAttributeValue

boolean setAttributeValue(int attrID,
                          DataElement attrValue)

JSR 82

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 82 specification.