|
| 1 | +/* |
| 2 | + * Copyright (C) 2015 The Android Open Source Project |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | +/////////////////////////////////////////////////////////////////////////////// |
| 17 | +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // |
| 18 | +/////////////////////////////////////////////////////////////////////////////// |
| 19 | + |
| 20 | +// This file is a snapshot of an AIDL file. Do not edit it manually. There are |
| 21 | +// two cases: |
| 22 | +// 1). this is a frozen version file - do not edit this in any case. |
| 23 | +// 2). this is a 'current' file. If you make a backwards compatible change to |
| 24 | +// the interface (from the latest frozen version), the build system will |
| 25 | +// prompt you to update this file with `m <name>-update-api`. |
| 26 | +// |
| 27 | +// You must not make a backward incompatible change to any AIDL file built |
| 28 | +// with the aidl_interface module type with versions property set. The module |
| 29 | +// type is used to build AIDL files in a way that they can be used across |
| 30 | +// independently updatable components of the system. If a device is shipped |
| 31 | +// with such a backward incompatible change, it has a high risk of breaking |
| 32 | +// later when a module using the interface is updated, e.g., Mainline modules. |
| 33 | + |
| 34 | +package android.support.customtabs; |
| 35 | +/* @hide */ |
| 36 | +interface ICustomTabsService { |
| 37 | + boolean warmup(long flags) = 1; |
| 38 | + boolean newSession(in android.support.customtabs.ICustomTabsCallback callback) = 2; |
| 39 | + boolean newSessionWithExtras(in android.support.customtabs.ICustomTabsCallback callback, in android.os.Bundle extras) = 9; |
| 40 | + boolean mayLaunchUrl(in android.support.customtabs.ICustomTabsCallback callback, in android.net.Uri url, in android.os.Bundle extras, in List<android.os.Bundle> otherLikelyBundles) = 3; |
| 41 | + android.os.Bundle extraCommand(String commandName, in android.os.Bundle args) = 4; |
| 42 | + boolean updateVisuals(in android.support.customtabs.ICustomTabsCallback callback, in android.os.Bundle bundle) = 5; |
| 43 | + boolean requestPostMessageChannel(in android.support.customtabs.ICustomTabsCallback callback, in android.net.Uri postMessageOrigin) = 6; |
| 44 | + boolean requestPostMessageChannelWithExtras(in android.support.customtabs.ICustomTabsCallback callback, in android.net.Uri postMessageOrigin, in android.os.Bundle extras) = 10; |
| 45 | + int postMessage(in android.support.customtabs.ICustomTabsCallback callback, String message, in android.os.Bundle extras) = 7; |
| 46 | + boolean validateRelationship(in android.support.customtabs.ICustomTabsCallback callback, int relation, in android.net.Uri origin, in android.os.Bundle extras) = 8; |
| 47 | + boolean receiveFile(in android.support.customtabs.ICustomTabsCallback callback, in android.net.Uri uri, int purpose, in android.os.Bundle extras) = 11; |
| 48 | + boolean isEngagementSignalsApiAvailable(in android.support.customtabs.ICustomTabsCallback customTabsCallback, in android.os.Bundle extras) = 12; |
| 49 | + boolean setEngagementSignalsCallback(in android.support.customtabs.ICustomTabsCallback customTabsCallback, in IBinder callback, in android.os.Bundle extras) = 13; |
| 50 | + int getGreatestScrollPercentage(in android.support.customtabs.ICustomTabsCallback customTabsCallback, in android.os.Bundle extras) = 14; |
| 51 | +} |
0 commit comments