/// <summary> /// trnasform the datas to JSON /// </summary> /// <returns>the datas as a JSON</returns> internal JSONGestureDatas toJson() { JSONGestureDatas jsonGestureEvent = new JSONGestureDatas(); if (this.bodyGestureEventData != null) { jsonGestureEvent.bodyGestureEventData = this.bodyGestureEventData.toJson(); } if (this.handGestureEventData != null) { jsonGestureEvent.handGestureEventData = this.handGestureEventData.toJson(); } return jsonGestureEvent; }
/// <summary> /// trnasform the datas to JSON /// </summary> /// <returns>the datas as a JSON</returns> internal JSONGestureDatas toJson() { JSONGestureDatas jsonGestureEvent = new JSONGestureDatas(); if (this.bodyGestureEventData != null) { jsonGestureEvent.bodyGestureEventData = this.bodyGestureEventData.toJson(); } if (this.handGestureEventData != null) { jsonGestureEvent.handGestureEventData = this.handGestureEventData.toJson(); } return(jsonGestureEvent); }