示例#1
0
 public static MomentImpl GetInstance()
 {
     lock (locker)
     {
         if (sInstance == null)
         {
             sInstance = new MomentImpl();
         }
     }
     return(sInstance);
 }
示例#2
0
 public static void OpenSceneEntryMoment(Orientation orientation, string sceneId)
 {
     MomentImpl.GetInstance().OpenSceneEntryMoment(orientation, sceneId);
 }
示例#3
0
 public static void SetGameScreenAutoRotate(bool auto)
 {
     MomentImpl.GetInstance().SetUseAutoRotate(auto);
 }
示例#4
0
 public static void CloseMoment(string title, string desc)
 {
     MomentImpl.GetInstance().CloseMoment(title, desc);
 }
示例#5
0
 public static void CloseMoment()
 {
     MomentImpl.GetInstance().CloseMoment();
 }
示例#6
0
 public static void GetNoticeData()
 {
     MomentImpl.GetInstance().GetNoticeData();
 }
示例#7
0
 public static void PublishVideoMoment(Orientation config, string[] videoPaths, string title, string desc)
 {
     MomentImpl.GetInstance().PublishVideoMoment(config, videoPaths, title, desc);
 }
示例#8
0
 public static void PublishMoment(Orientation config, string[] imagePaths, string content)
 {
     MomentImpl.GetInstance().PublishMoment(config, imagePaths, content);
 }
示例#9
0
 public static void OpenMoment(Orientation config)
 {
     MomentImpl.GetInstance().OpenMoment(config);
 }
示例#10
0
 public static void InitSDK(string clientId)
 {
     MomentImpl.GetInstance().InitSDK(clientId);
 }
示例#11
0
 public static void SetCallback(Action <int, string> callback)
 {
     MomentImpl.GetInstance().SetCallback(callback);
 }