A ban on electronic cigarettes went into effect on April 29 in New York restaurants, bars, parks, beaches and other public places.