sound volume control help !

hi all~

i’m developing a J2ME game based on MotoE680, my boos just requires in the game the user can control volume of bg sounds, i found an interface “VolumeControl” can help but dunno how to derive its getLevel and setLevel to increase or decrease volume. here is the code:


public SoundControl implements VolumeControl
{
    ...

    public int getLevel()
    {
        // How to derive getLevel method here ???
    }
}

any help ?