public function __construct($devicePreference = null) { $this->devicePreference = $devicePreference; }