FileDocCategorySizeDatePackage
InquiryResultEvent.javaAPI DocphoneME MR2 API (J2ME)1988Wed May 02 18:00:30 BST 2007com.sun.midp.jsr082.bluetooth

InquiryResultEvent

public class InquiryResultEvent extends BluetoothEvent
Inquiry result event.

Fields Summary
private InquiryResult[]
results
An array of inquiry results.
Constructors Summary
public InquiryResultEvent(InquiryResult result)
Creates event using a single inquiry result record.

param
result inquiry result record

        results = new InquiryResult[1];
        results[0] = result;
    
public InquiryResultEvent(InquiryResult[] resultsArray)
Creates event using an array of results.

param
resultsArray an array of result records

        results = resultsArray;
    
Methods Summary
public voidprocess()
Processes this event.

        BluetoothStack stack = BluetoothStack.getInstance();
        for (int i = 0; i < results.length; i++) {
            stack.onInquiryResult(results[i]);
        }