10a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski/*
25b790feeeb211c42bf78ca3ae9c26aa30e516765Jakub Pawlowski * Copyright 2016 The Android Open Source Project
30a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski *
40a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski * Licensed under the Apache License, Version 2.0 (the "License");
50a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski * you may not use this file except in compliance with the License.
60a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski * You may obtain a copy of the License at
70a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski *
80a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski *      http://www.apache.org/licenses/LICENSE-2.0
90a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski *
100a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski * Unless required by applicable law or agreed to in writing, software
110a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski * distributed under the License is distributed on an "AS IS" BASIS,
120a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
130a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski * See the License for the specific language governing permissions and
140a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski * limitations under the License.
150a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski */
160a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski
170a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowskipackage android.bluetooth;
180a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski
190a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowskiimport android.bluetooth.BluetoothDevice;
200a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski
210a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski/**
220a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski * API for Bluetooth Phone Book Access Provile Client Side
230a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski *
240a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski * {@hide}
250a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski */
260a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowskiinterface IBluetoothPbapClient {
270a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski    boolean connect(in BluetoothDevice device);
280a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski    boolean disconnect(in BluetoothDevice device);
290a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski    List<BluetoothDevice> getConnectedDevices();
300a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski    List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
310a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski    int getConnectionState(in BluetoothDevice device);
320a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski    boolean setPriority(in BluetoothDevice device, int priority);
330a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski    int getPriority(in BluetoothDevice device);
340a5d9ebb0b15976b47eaff77bb66a257b8b114bbJakub Pawlowski}
35