<?xml version="1.0" encoding="UTF-8"?>
<root>
    <doclet-version-NOT-library-version>1.07</doclet-version-NOT-library-version>
    <class>
        <name>com.khaan.iau.InAppUpdate</name>
        <shortname>InAppUpdate</shortname>
        <owner>activity</owner>
        <event>InAppUpdate_onAppUpdateInfoReceived(success As Boolean, inAppUpdateInfo As InAppUpdateInfo)</event>
        <event>InAppUpdate_onUserAcceptUpdate(accepted As Boolean)</event>
        <event>InAppUpdate_onStateUpdate(installStatus As Int, arg1 As Long, arg2 As Long)</event>
        <method>
            <name>fake_UserRejectsUpdate</name>
            <comment>Simulates that a user has declined an update from the update confirmation dialog.
This method call works only if isConfirmationDialogVisible() or isImmediateFlowVisible() is true.</comment>
            <returntype>void</returntype>
        </method>
        <method>
            <name>fake_UpdateDownloaded</name>
            <comment>Simulates that update downloaded.</comment>
            <returntype>void</returntype>
        </method>
        <method>
            <name>isTestMode</name>
            <comment>Retuen whether test mode is enabled or not.</comment>
            <returntype>java.lang.Boolean</returntype>
        </method>
        <method>
            <name>fake_UpdateDownloading</name>
            <comment>Simulates that update downloading.</comment>
            <returntype>void</returntype>
        </method>
        <method>
            <name>StartImmediateUpdateFlow</name>
            <comment>Trigger the immediate update flow.</comment>
            <returntype>void</returntype>
        </method>
        <method>
            <name>fake_UserCancelsDownload</name>
            <comment>Simulates the user canceling the download via the Play UI.
This method call works only if the download of an update is pending or downloading.</comment>
            <returntype>void</returntype>
        </method>
        <method>
            <name>installFlexibleUpdate</name>
            <comment>Once we detect that the InstallStatus represents the DOWNLOADED state, 
We are required to restart the app so that the update can be installed. 
Whilst the immediate update method handles this for you, in the case of the flexible update 
We need to manually trigger this. In order to manually trigger this update we need to make use of the installFlexibleUpdate method. 
When this is called, a full-screen UI will be displayed from the play core library and the app will be restarted in the background so that the update can be installed. 
The app will then be restarted with the update applied.</comment>
            <returntype>void</returntype>
        </method>
        <method>
            <name>Initialize</name>
            <comment>Initializes the In-App update.</comment>
            <returntype>com.khaan.iau.InAppUpdate</returntype>
            <parameter>
                <name>ba</name>
                <type>anywheresoftware.b4a.BA</type>
            </parameter>
            <parameter>
                <name>testMode</name>
                <type>boolean</type>
            </parameter>
        </method>
        <method>
            <name>fake_UserAcceptsUpdate</name>
            <comment>Simulates that a user has accepted an flexible update from the update confirmation dialog.
The download is enqueued in PENDING status.</comment>
            <returntype>void</returntype>
        </method>
        <method>
            <name>StartFlexibleUpdateFlow</name>
            <comment>Trigger the flexible update flow.</comment>
            <returntype>void</returntype>
        </method>
        <method>
            <name>fake_CustomState</name>
            <comment>Simulates custom state.</comment>
            <returntype>void</returntype>
            <parameter>
                <name>status</name>
                <type>int</type>
            </parameter>
        </method>
        <method>
            <name>fake_UpdateFailed</name>
            <comment>Simulates that update is failed.</comment>
            <returntype>void</returntype>
        </method>
        <method>
            <name>GetAppUpdateInfo</name>
            <comment>Checking whether there is an update that is available from the play store.</comment>
            <returntype>void</returntype>
        </method>
        <field>
            <name>INSTALL_STATUS_REQUIRES_UI_INTENT</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>INSTALL_STATUS_CANCELED</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>INSTALL_STATUS_PENDING</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>INSTALL_STATUS_DOWNLOADED</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>INSTALL_STATUS_INSTALLING</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>INSTALL_STATUS_DOWNLOADING</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>INSTALL_STATUS_FAILED</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>INSTALL_STATUS_INSTALLED</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>INSTALL_STATUS_UNKNOWN</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
    </class>
    <class>
        <name>com.khaan.iau.InAppUpdateInfo</name>
        <shortname>InAppUpdateInfo</shortname>
        <owner>activity</owner>
        <method>
            <name>totalBytesToDownload</name>
            <comment></comment>
            <returntype>long</returntype>
        </method>
        <method>
            <name>updateAvailability</name>
            <comment></comment>
            <returntype>int</returntype>
        </method>
        <method>
            <name>isImmediateUpdateAllowed</name>
            <comment></comment>
            <returntype>boolean</returntype>
        </method>
        <method>
            <name>bytesDownloaded</name>
            <comment></comment>
            <returntype>long</returntype>
        </method>
        <method>
            <name>clientVersionStalenessDays</name>
            <comment></comment>
            <returntype>java.lang.Integer</returntype>
        </method>
        <method>
            <name>installStatus</name>
            <comment></comment>
            <returntype>int</returntype>
        </method>
        <method>
            <name>updatePriority</name>
            <comment></comment>
            <returntype>int</returntype>
        </method>
        <method>
            <name>availableVersionCode</name>
            <comment></comment>
            <returntype>int</returntype>
        </method>
        <method>
            <name>isFlexibleUpdateAllowed</name>
            <comment></comment>
            <returntype>boolean</returntype>
        </method>
        <field>
            <name>UPDATE_AVAILABILITY_DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>UPDATE_AVAILABILITY_AVAILABLE</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>UPDATE_AVAILABILITY_UNKNOWN</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
        <field>
            <name>UPDATE_AVAILABILITY_NOT_AVAILABLE</name>
            <comment></comment>
            <returntype>int</returntype>
        </field>
    </class>
    <version>1.1</version>
    <dependsOn>com.google.android.play:core</dependsOn>
</root>
