blob: b4b3260d8a92f2cc81dc4181ccb5bd4f778b7292 [file] [log] [blame]
/*
* Copyright (C) 2020 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 com.android.ims.rcs.uce.options;
import android.annotation.NonNull;
import android.net.Uri;
import android.os.RemoteException;
import android.telephony.ims.aidl.IOptionsResponseCallback;
import com.android.ims.rcs.uce.ControllerBase;
import java.util.Set;
/**
* The interface to define the operations of the SIP OPTIONS
*/
public interface OptionsController extends ControllerBase {
/**
* Request the contact's capabilities of the given contact.
* @param contactUri The contact of the capabilities is being requested for.
* @param deviceFeatureTags The feature tags of the device's capabilities.
* @param c The response callback of the OPTIONS capabilities request.
*/
void sendCapabilitiesRequest(@NonNull Uri contactUri, @NonNull Set<String> deviceFeatureTags,
@NonNull IOptionsResponseCallback c) throws RemoteException;
}