package openfl.events {
/**
 * 	A Camera or Microphone object dispatches an ActivityEvent object whenever
 * 	a camera or microphone reports that it has become active or inactive.
 * 	There is only one type of activity event: `ActivityEvent.ACTIVITY`.
 * 
 * 
 * @externs
 */
public class ActivityEvent extends openfl.events.Event {
	/**
	 * 		Creates an event object that contains information about activity
	 * 		events. Event objects are passed as parameters to Event listeners.
	 * 
	 * 		@param type       The type of the event. Event listeners can access
	 * 						  this information through the inherited `type`
	 * 						  property. There is only one type of activity event:
	 * 						  `ActivityEvent.ACTIVITY`.
	 * 		@param bubbles    Determines whether the Event object participates in
	 * 						  the bubbling phase of the event flow. Event
	 * 						  listeners can access this information through the
	 * 						  inherited `bubbles` property.
	 * 		@param cancelable Determines whether the Event object can be canceled.
	 * 						  Event listeners can access this information through
	 * 						  the inherited `cancelable` property.
	 * 		@param activating Indicates whether the device is activating (`true`)
	 * 						  or deactivating (`false`). Event listeners can
	 * 						  access this information through the `activating`
	 * 						  property.
	 * 	
	 */
	public function ActivityEvent(type:String, bubbles:Boolean = undefined, cancelable:Boolean = undefined, activating:Boolean = undefined) {
		super(undefined, undefined, undefined);
	}
	/**
	 * 		The `ActivityEvent.ACTIVITY` constant defines the value of the `type`
	 * 		property of an `activity` event object.
	 * 		This event has the following properties:
	 * 
	 * 		| Property | Value |
	 * 		| --- | --- |
	 * 		| `activating` | `true` if the device is activating or `false` if it is deactivating. |
	 * 		| `bubbles` | `false` |
	 * 		| `cancelable` | `false`; there is no default behavior to cancel. |
	 * 		| `currentTarget` | The object that is actively processing the Event object with an event listener. |
	 * 		| `target` | The object beginning or ending a session, such as a Camera or Microphone object. |
	 * 	
	 */
	public static const ACTIVITY:String = "activity";
	/**
	 * 		Indicates whether the device is activating (`true`) or deactivating
	 * 		(`false`).
	 * 	
	 */
	public var activating:Boolean;
	override public function clone():openfl.events.ActivityEvent { return null; }
	override public function toString():String { return null; }
}
}
