⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mediaev.java

📁 Java Telephony API .java程序
💻 JAVA
字号:
/* * Copyright (c) 1996 Sun Microsystems, Inc. All Rights Reserved. * * Permission to use, copy, modify, and distribute this software * and its documentation for NON-COMMERCIAL purposes and without * fee is hereby granted provided that this copyright notice * appears in all copies. Please refer to the file "copyright.html" * for further important copyright and licensing information. * * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */package java.telephony.media.events;import java.telephony.events.Ev;/** * The MediaEv is the base event for all events in the Media * package. Each event in this package must extend this interface. This * interface is not meant to be a public interface, it is just a building * block for other event interfaces. * <p> * The MediaEv interface contains getMediaCause(), which returns * the reason for the event. */public interface MediaEv extends Ev {  /**   * Cause code indicating normal operation   */  public static final int CAUSE_NORMAL = 400;  /**   * Cause code indicating the cause was unknown   */  public static final int CAUSE_UNKNOWN = 401;  /**   * Returns the media and core causes associated with this event.    * Every event has a cause. The various cause values are defined as public   * static final variablies in this interface, with the exception of   * CAUSE_NORMAL and CAUSE_UNKNOWN, which are defined in the core.   * <p>   * @returns The cause of the event.   */  public int getMediaCause();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -