This interface allows applications to register services that offer remote displays to the system. The system will then provide UI to allow user to connect to these displays and enable mirroring. Bug: 11257292 Change-Id: I34da5b9dfdaf71267bd3450c505bc1b7368d1b40
32 lines
998 B
Plaintext
32 lines
998 B
Plaintext
/*
|
|
* Copyright (C) 2013 The Android Open Source Project
|
|
*
|
|
* 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.media;
|
|
|
|
import android.media.IRemoteDisplayCallback;
|
|
|
|
/**
|
|
* {@hide}
|
|
*/
|
|
oneway interface IRemoteDisplayProvider {
|
|
void setCallback(in IRemoteDisplayCallback callback);
|
|
void setDiscoveryMode(int mode);
|
|
void connect(String id);
|
|
void disconnect(String id);
|
|
void setVolume(String id, int volume);
|
|
void adjustVolume(String id, int delta);
|
|
}
|