Created
December 3, 2019 18:56
-
-
Save digitallysavvy/0c78ccf776757cd6fab6f68c90703695 to your computer and use it in GitHub Desktop.
Snippet for sendTouchPoints within the ARSupportAudienceViewController
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func sendTouchPoints() { | |
let pointsAsString: String = self.dataPointsArray.description | |
self.agoraKit.sendStreamMessage(self.dataStreamId, data: pointsAsString.data(using: String.Encoding.ascii)!) | |
self.dataPointsArray = [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment