167d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski/*
267d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski * Copyright (C) 2016 The Android Open Source Project
367d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski *
467d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski * Licensed under the Apache License, Version 2.0 (the "License");
567d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski * you may not use this file except in compliance with the License.
667d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski * You may obtain a copy of the License at
767d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski *
867d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski *      http://www.apache.org/licenses/LICENSE-2.0
967d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski *
1067d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski * Unless required by applicable law or agreed to in writing, software
1167d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski * distributed under the License is distributed on an "AS IS" BASIS,
1267d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1367d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski * See the License for the specific language governing permissions and
1467d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski * limitations under the License.
1567d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski */
1667d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski
1767d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowskipackage android.bluetooth;
1867d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski
1967d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowskiimport android.bluetooth.IBluetoothLeAdvertiserCallback;
2067d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski
2167d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowskiimport android.bluetooth.AdvertiseData;
2267d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowskiimport android.bluetooth.AdvertiseSettings;
2367d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski
2467d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowskiinterface IBluetoothLeAdvertiser {
2567d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski  boolean RegisterAdvertiser(in IBluetoothLeAdvertiserCallback callback);
2667d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski  void UnregisterAdvertiser(int advertiser_id);
2767d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski  void UnregisterAll();
2867d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski
2967d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski  boolean StartMultiAdvertising(
3067d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski      int advertiser_id,
3167d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski      in AdvertiseData advertise_data,
3267d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski      in AdvertiseData scan_response,
3367d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski      in AdvertiseSettings settings);
3467d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski  boolean StopMultiAdvertising(int advertiser_id);
3567d5a2523314d9757b2472c3e828dbc1015df4feJakub Pawlowski}