private void OnShareNotify(string msg)
 {
     if (msg.get_Length() > 0)
     {
         ApolloStringParser apolloStringParser = new ApolloStringParser(msg);
         ApolloShareResult  @object            = apolloStringParser.GetObject <ApolloShareResult>("ShareResult");
         if (this.onShareEvent != null)
         {
             try
             {
                 this.onShareEvent(@object);
             }
             catch (Exception ex)
             {
                 ADebug.Log("onShareEvent:" + ex);
             }
         }
     }
 }
예제 #2
0
 private void OnShareNotify(string msg)
 {
     if (msg.Length > 0)
     {
         ApolloStringParser parser            = new ApolloStringParser(msg);
         ApolloShareResult  shareResponseInfo = null;
         shareResponseInfo = parser.GetObject <ApolloShareResult>("ShareResult");
         if (this.onShareEvent != null)
         {
             try
             {
                 this.onShareEvent(shareResponseInfo);
             }
             catch (Exception exception)
             {
                 ADebug.Log("onShareEvent:" + exception);
             }
         }
     }
 }