get_installer_reboots


Description:

[ Version ( since = "0.2.1" ) ]
public int get_installer_reboots ()

If media is an installer, this method retrieves the number of reboots the installer takes before installation is complete.

This function is not supposed to be called on media that has no installer. You can use get_installer(or OsinfoMedia: installer) to check that.

Warning: Some media allow you to install from live sessions, in which case number of reboots *alone* is not a reliable method for tracking installation.

Parameters:

this

an Media instance

Returns:

the number of installer reboots or -1 if media is not an installer