unplugged-vendor/system/bt/binder/android/bluetooth/IBluetoothMcsCallbacks.aidl

44 lines
1.8 KiB
Plaintext

/*
* Copyright 2019 HIMSA II K/S - www.himsa.dk. Represented by EHIMA - www.ehima.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.bluetooth;
import com.mediatek.bt.BluetoothMcsSearchRequest;
import com.mediatek.bt.BluetoothMcsMediaControlRequest;
import android.bluetooth.BluetoothDevice;
/**
* @hide
*/
interface IBluetoothMcsCallbacks
{
oneway void onServiceInstanceRegistered(in int status, in IBinder service_proxy);
oneway void onServiceInstanceUnregistered(in int status);
oneway void onMediaControlRequest(in BluetoothMcsMediaControlRequest request, in BluetoothDevice device);
oneway void onSearchRequest(in BluetoothMcsSearchRequest request);
oneway void onSetObjectIdRequest(int obj_field, long object_id);
oneway void onTrackPositionSetRequest(long position);
oneway void onPlaybackSpeedSetRequest(float speed);
oneway void onPlayingOrderSetRequest(int order);
oneway void onCurrentTrackObjectIdSet(long object_id);
oneway void onNextTrackObjectIdSet(long object_id);
oneway void onCurrentGroupObjectIdSet(long object_id);
oneway void onCurrentTrackMetadataRequest();
oneway void onPlayerStateRequest(in int[] state_fields);
long onGetFeatureFlags();
long onGetCurrentTrackPosition();
}