public int GetState() { if (this.isConfigOpen) { QGameKit.LiveStatus errorCode = (QGameKit.LiveStatus)QGameKit.GetErrorCode(); Debug.Log("GetState " + errorCode); return((int)errorCode); } return(0); }
public void StartLiveBroadcast(string title, string desc) { if (this.isConfigOpen) { Debug.Log("Start live broadcast"); QGameKit.LiveStatus errorCode = (QGameKit.LiveStatus)QGameKit.GetErrorCode(); if (errorCode == QGameKit.LiveStatus.Error) { QGameKit.Reset(); } QGameKit.StartLiveBroadcast(title, desc); } }