public static MomentImpl GetInstance() { lock (locker) { if (sInstance == null) { sInstance = new MomentImpl(); } } return(sInstance); }
public static void OpenSceneEntryMoment(Orientation orientation, string sceneId) { MomentImpl.GetInstance().OpenSceneEntryMoment(orientation, sceneId); }
public static void SetGameScreenAutoRotate(bool auto) { MomentImpl.GetInstance().SetUseAutoRotate(auto); }
public static void CloseMoment(string title, string desc) { MomentImpl.GetInstance().CloseMoment(title, desc); }
public static void CloseMoment() { MomentImpl.GetInstance().CloseMoment(); }
public static void GetNoticeData() { MomentImpl.GetInstance().GetNoticeData(); }
public static void PublishVideoMoment(Orientation config, string[] videoPaths, string title, string desc) { MomentImpl.GetInstance().PublishVideoMoment(config, videoPaths, title, desc); }
public static void PublishMoment(Orientation config, string[] imagePaths, string content) { MomentImpl.GetInstance().PublishMoment(config, imagePaths, content); }
public static void OpenMoment(Orientation config) { MomentImpl.GetInstance().OpenMoment(config); }
public static void InitSDK(string clientId) { MomentImpl.GetInstance().InitSDK(clientId); }
public static void SetCallback(Action <int, string> callback) { MomentImpl.GetInstance().SetCallback(callback); }