/* TwitchTV - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */



public class TwitchTV
{
    public static final int anInt8575 = 0;
    public static final int anInt8576 = 12;
    public static final int anInt8577 = 23;
    public static final int anInt8578 = 42;
    public static final int anInt8579 = 2072;
    public static final int anInt8580 = -995;
    public static final int anInt8581 = 7;
    public static final int anInt8582 = 8;
    public static final int anInt8583 = 9;
    public static final int anInt8584 = 10;
    public static final int anInt8585 = 30;
    public static final int anInt8586 = 33;
    public static final int anInt8587 = 34;
    public static final int anInt8588 = 5;
    public static final int anInt8589 = 0;
    public static final int anInt8590 = 1;
    public static final int anInt8591 = 2;
    
    public native int InitialiseTTV(String string);
    
    public native int ShutdownTTV();
    
    public native int Login(String string, String string_0_);
    
    public native int Logout();
    
    public native String GetUsername();
    
    public native TwitchEvent[] Service();
    
    public native int GetLoginState();
    
    public native void SetAuthResponse(String string, int i, String string_1_);
    
    public native int RequestLiveStreams(String string);
    
    public native int StartStreaming(int i, int i_2_, int i_3_, int i_4_,
				     boolean bool, float f, int i_5_,
				     boolean bool_6_);
    
    public native int Pause();
    
    public native int GetStreamState();
    
    public native boolean IsStreaming();
    
    public native boolean IsReadyToStream();
    
    public native void FlushStreamingEvents();
    
    public native int StopStreaming();
    
    public native int RunCommercial();
    
    public native long GetNextFreeFrameBuffer();
    
    public native int SubmitFrame(long l, boolean bool, boolean bool_7_, int i,
				  int i_8_);
    
    public native int SubmitFrameRaw(int[] is, boolean bool, int i, int i_9_);
    
    public native int[] GetRecommendedSettings(int i, int i_10_, int i_11_,
					       int i_12_, int i_13_, float f,
					       boolean bool);
    
    public native void SetUserStreamRefreshInterval(int i);
    
    public native int GetViewerCount();
    
    public native int SetStreamTitle(String string, String string_14_);
    
    public native int ChatSendMessage(String string);
    
    public native int GetChatState();
    
    public native int GetWebcamState();
    
    public native int GetWebcamFrameData
	(int i, TwitchWebcamFrameData twitchwebcamframedata);
    
    public native int[] GetWebcamFrameResolution(int i);
    
    public native int StartWebcamDevice(int i, int i_15_);
    
    public native int StopWebcamDevice(int i);
    
    public native TwitchWebcamDevice[] GetWebcamDevices();
    
    public native void RestartWebcamDevice();
}
