1c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright/* 2c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * Copyright (C) 2014 The Android Open Source Project 3c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * 4c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * Licensed under the Apache License, Version 2.0 (the "License"); 5c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * you may not use this file except in compliance with the License. 6c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * You may obtain a copy of the License at 7c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * 8c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * http://www.apache.org/licenses/LICENSE-2.0 9c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * 10c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * Unless required by applicable law or agreed to in writing, software 11c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * distributed under the License is distributed on an "AS IS" BASIS, 12c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * See the License for the specific language governing permissions and 14c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright * limitations under the License. 15c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright */ 16c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright 17c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wrightpackage android.media.projection; 18c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright 19c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wrightimport android.media.projection.IMediaProjectionCallback; 20c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright 21c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright/** {@hide} */ 22c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wrightinterface IMediaProjection { 23c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright void start(IMediaProjectionCallback callback); 24c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright void stop(); 25c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright boolean canProjectAudio(); 26c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright boolean canProjectVideo(); 27c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright boolean canProjectSecureVideo(); 286720be4e8c65e90d4453ddad5cef192bc3820038Michael Wright int applyVirtualDisplayFlags(int flags); 29cde5bb45cc86d181d96ee69da1832e6132162871Michael Wright void registerCallback(IMediaProjectionCallback callback); 30cde5bb45cc86d181d96ee69da1832e6132162871Michael Wright void unregisterCallback(IMediaProjectionCallback callback); 31c39d47a8e7c74bd539104b0efab898ef6fc43ddfMichael Wright} 32