added CameraParametersEventHandler

added flash switch