Interhaptics SDK for Unity 1.6
Loading...
Searching...
No Matches
Interhaptics.Platforms.Mobile.Tools.AHAP Class Reference

Public Member Functions

string ToJson ()
 

Public Attributes

int Version = 1
 
MetaData Metadata = new MetaData()
 
List< PatternObjectPattern
 

Detailed Description

Definition at line 245 of file iOSUtilities.cs.

Member Function Documentation

◆ ToJson()

string Interhaptics.Platforms.Mobile.Tools.AHAP.ToJson ( )

Definition at line 251 of file iOSUtilities.cs.

252 {
253 string json = "{" +
254 "\"Version\": " + Version + ","
255 + Metadata.ToJson();
256
257 json += "\"Pattern\": [";
258 json += string.Join(",", Pattern.Select(e => e.ToJson()));
259 json += "]}";
260 return json;
261 }

References Interhaptics.Platforms.Mobile.Tools.MetaData.ToJson().

Member Data Documentation

◆ Metadata

MetaData Interhaptics.Platforms.Mobile.Tools.AHAP.Metadata = new MetaData()

Definition at line 248 of file iOSUtilities.cs.

◆ Pattern

List<PatternObject> Interhaptics.Platforms.Mobile.Tools.AHAP.Pattern

Definition at line 249 of file iOSUtilities.cs.

◆ Version

int Interhaptics.Platforms.Mobile.Tools.AHAP.Version = 1

Definition at line 247 of file iOSUtilities.cs.


The documentation for this class was generated from the following file: