1. A method performed by an electronic device, comprising: obtaining sensor information; identifying a class of an object based on the sensor information; determining one or more actions based on the sensor information, the class of the object and an action usage history; and performing at least one of the one or more actions based on at least one application.