1682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon/* 2682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * Copyright 2014, The Android Open Source Project 3682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * 4682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * Licensed under the Apache License, Version 2.0 (the "License"); 5682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * you may not use this file except in compliance with the License. 6682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * You may obtain a copy of the License at 7682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * 8682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * http://www.apache.org/licenses/LICENSE-2.0 9682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * 10682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * Unless required by applicable law or agreed to in writing, software 11682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * distributed under the License is distributed on an "AS IS" BASIS, 12682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * See the License for the specific language governing permissions and 14682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * limitations under the License. 15682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon */ 16682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon 177cc70b4f0ad1064a4a0dce6056ad82b205887160Tyler Gunnpackage com.android.server.telecom; 18682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon 19682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon/** 20682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon * Generic result interface for use with async method callback. 21682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon */ 22682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordoninterface AsyncResultCallback<T> { 230fea3f214ccdbda3b05282e99ba9d095d544e906Ihab Awad void onResult(T result, int errorCode, String errorMsg); 24682fe6ba2fe99e209d72a051539697a755b994c0Santos Cordon} 25