2016-10-05 19:19:06 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2016 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.hardware.wifi@1.0;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface used to represent a single iface.
|
|
|
|
*/
|
|
|
|
interface IWifiIface {
|
|
|
|
/**
|
|
|
|
* Get the type of this iface.
|
|
|
|
*
|
2016-10-10 20:53:07 +02:00
|
|
|
* @return status WifiStatus of the operation.
|
2016-10-10 19:32:22 +02:00
|
|
|
* Possible status codes:
|
2016-10-10 20:53:07 +02:00
|
|
|
* |WifiStatusCode.SUCCESS|,
|
|
|
|
* |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|
|
2016-10-05 19:19:06 +02:00
|
|
|
* @return type One of the supported iface types.
|
|
|
|
*/
|
2016-10-10 20:53:07 +02:00
|
|
|
getType() generates (WifiStatus status, IfaceType type);
|
2016-10-05 19:19:06 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the name of this iface.
|
|
|
|
*
|
2016-10-10 20:53:07 +02:00
|
|
|
* @return status WifiStatus of the operation.
|
2016-10-10 19:32:22 +02:00
|
|
|
* Possible status codes:
|
2016-10-10 20:53:07 +02:00
|
|
|
* |WifiStatusCode.SUCCESS|,
|
|
|
|
* |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|
|
2016-10-05 19:19:06 +02:00
|
|
|
* @return name Name of the iface.
|
|
|
|
*/
|
2016-10-10 20:53:07 +02:00
|
|
|
getName() generates (WifiStatus status, string name);
|
2016-10-05 19:19:06 +02:00
|
|
|
};
|