1a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski/* 2a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * Copyright (C) 2017 The Android Open Source Project 3a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * 4a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * Licensed under the Apache License, Version 2.0 (the "License"); 5a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * you may not use this file except in compliance with the License. 6a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * You may obtain a copy of the License at 7a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * 8a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * http://www.apache.org/licenses/LICENSE-2.0 9a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * 10a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * Unless required by applicable law or agreed to in writing, software 11a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * distributed under the License is distributed on an "AS IS" BASIS, 12a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * See the License for the specific language governing permissions and 14a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * limitations under the License. 15a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski */ 16a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowskipackage android.bluetooth.le; 17a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski 18a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski/** 19a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * Callback definitions for interacting with Advertiser 20a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski * @hide 21a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski */ 22a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowskioneway interface IAdvertisingSetCallback { 236a55da90184fcc6e8f4bb9ebb01662b4925f6094Jakub Pawlowski void onAdvertisingSetStarted(in int advertiserId, in int tx_power, in int status); 24348ba3da7800da7eb0855890debd274bb57e04b0Jakub Pawlowski void onOwnAddressRead(in int advertiserId, in int addressType, in String address); 25a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski void onAdvertisingSetStopped(in int advertiserId); 26a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski void onAdvertisingEnabled(in int advertiserId, in boolean enable, in int status); 27a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski void onAdvertisingDataSet(in int advertiserId, in int status); 28a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski void onScanResponseDataSet(in int advertiserId, in int status); 296a55da90184fcc6e8f4bb9ebb01662b4925f6094Jakub Pawlowski void onAdvertisingParametersUpdated(in int advertiserId, in int tx_power, in int status); 30a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski void onPeriodicAdvertisingParametersUpdated(in int advertiserId, in int status); 31a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski void onPeriodicAdvertisingDataSet(in int advertiserId, in int status); 327998be9e44f7797a96fb0a2568b95581ebccc1d0Jakub Pawlowski void onPeriodicAdvertisingEnabled(in int advertiserId, in boolean enable, in int status); 33a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9Jakub Pawlowski} 34