示例#1
0
 /// <summary>
 /// Sets the bit rate.
 /// </summary>
 /// <param name="bitRate">Bit rate.</param>
 public static void setBitRate(int bitRate)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.setBitRate(bitRate);
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#2
0
 /// <summary>
 /// Sets the FPS.
 /// </summary>
 /// <param name="fps">Fps.</param>
 public static void setFPS(int fps)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.setFPS(fps);
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#3
0
 /// <summary>
 /// Plaies the last recording.
 /// </summary>
 public static void playLastRecording()
 {
                 #if UNITY_IPHONE
     ShareRECIOS.playLastRecording();
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#4
0
 /// <summary>
 /// Stops the recording.
 /// </summary>
 public static void stopRecording(FinishedRecordEvent evt)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.stopRecording(evt);
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#5
0
 /// <summary>
 /// Pause the recoring.
 /// </summary>
 public static void pauseRecoring()
 {
                 #if UNITY_IPHONE
     ShareRECIOS.pauseRecoring();
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#6
0
 /// <summary>
 /// Sets the minimum recording time.
 /// </summary>
 /// <param name="time">Time.</param>
 public static void setMinimumRecordingTime(float time)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.setMinimumRecordingTime(time);
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#7
0
 /// <summary>
 /// Starts the recoring.
 /// </summary>
 public static void startRecoring()
 {
                 #if UNITY_IPHONE
     ShareRECIOS.startRecording();
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#8
0
 public static void setShareAfterUploadCompleted(bool flag)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.setShareAfterUploadCompleted(flag);
                 #elif UNITY_ANDROID
                 #endif
 }
示例#9
0
 /// <summary>
 /// Registers the app.
 /// </summary>
 /// <param name="appKey">App key.</param>
 public static void registerApp(string appKey)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.registerApp(appKey);
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#10
0
 /// <summary>
 /// Opens the social.
 /// </summary>
 /// <param name="title">Title.</param>
 /// <param name="userData">User data.</param>
 /// <param name="pageType">Page type.</param>
 /// <param name="evt">Evt.</param>
 public static void openSocial(string title, Hashtable userData, SocialPageType pageType, CloseEvent evt)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.openSocial(title, userData, pageType, evt);
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#11
0
 /// <summary>
 /// Sets the sync audio comment.
 /// </summary>
 /// <param name="flag">If set to <c>true</c> flag.</param>
 public static void setSyncAudioComment(bool flag)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.setSyncAudioComment(flag);
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#12
0
 /// <summary>
 /// Edits the last recording.
 /// </summary>
 /// <param name="evt">Evt.</param>
 public static void editLastRecording(EditResultEvent evt)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.editLastRecording(evt);
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#13
0
 /// <summary>
 /// Edits the lasting recording.
 /// </summary>
 /// <param name="title">Title.</param>
 /// <param name="userData">User data.</param>
 /// <param name="evt">Evt.</param>
 public static void editLastingRecording(string title, Hashtable userData, CloseEvent evt)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.editLastRecording(title, userData, evt);
                 #elif   UNITY_ANDROID
                 #endif
 }
示例#14
0
        /// <summary>
        /// Lasts the recording path.
        /// </summary>
        /// <returns>The recording path.</returns>
        public static string lastRecordingPath()
        {
                        #if UNITY_IPHONE
            return(ShareRECIOS.lastRecordingPath());
                        #elif   UNITY_ANDROID
                        #endif

            return(null);
        }
示例#15
0
 /// <summary>
 /// _callback the specified data.
 /// </summary>
 /// <param name="data">Data.</param>
 private void shareRECCallback(string data)
 {
     if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
                         #if UNITY_IPHONE
         ShareRECIOS.shareRECCallback(data);
                         #endif
     }
     else if (Application.platform == RuntimePlatform.Android)
     {
                         #if UNITY_ANDROID
                         #endif
     }
 }
示例#16
0
        /// <summary>
        /// Sets the name of the callback object.
        /// </summary>
        /// <param name="objectName">Object name.</param>
        public static void setCallbackObjectName(string objectName)
        {
            if (objectName == null)
            {
                objectName = "Main Camera";
            }

            if (Application.platform == RuntimePlatform.IPhonePlayer)
            {
                                #if UNITY_IPHONE
                ShareRECIOS.setCallbackObjectName(objectName);
                                #endif
            }
            else if (Application.platform == RuntimePlatform.Android)
            {
                                #if UNITY_ANDROID
                                #endif
            }
        }
示例#17
0
 public static void confirmEditLastRecording(ConfirmEditLastRecordingResultEvent evt)
 {
                 #if UNITY_IPHONE
     ShareRECIOS.confirmEditLastRecording(evt);
                 #endif
 }