/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * 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. */ namespace Tizen.Tapi { /// /// Enumeration for the phone power status values. /// public enum PhonePowerStatus { /// /// Unknown. /// Unknown = -1, /// /// Power on. /// On, /// /// Power off. /// Off, /// /// Power reset. /// Reset, /// /// Power low. /// Low, /// /// Error. /// Error } /// /// Enumeration for the phone power reset commands. /// public enum PhonePowerCommand { /// /// On. /// On = 0, /// /// Off. /// Off, /// /// Reset. /// Reset, /// /// Low value. /// Low, /// /// Max value. /// Max = Low } /// /// Enumeration for flight mode request type. /// public enum PowerFlightModeRequest { /// /// Off. /// Enter = 0x01, /// /// On. /// Leave, /// /// Max value. /// Max } /// /// Enumeration for flight mode request type. /// public enum PowerFlightModeResponse { /// /// Flight mode on success. /// On = 0x01, /// /// Flight mode off success. /// Off, /// /// Flight mode request fail. /// Fail, /// /// Max value. /// Max } }