class MarkerMetadata (Niantic.ARDK.Utilities.Marker.MarkerMetadata)
Overview
class MarkerMetadata { public: // enums enum MarkerSource; // fields byte[] Data; string SessionIdentifier; // properties MarkerSource Source; // methods MarkerMetadata( string sessionIdentifier, MarkerSource source, byte[] data, IMetadataSerializer serializer = null ); byte[] Serialize(); override string ToString(); }; // direct descendants class StationaryMarkerMetadata;
Detailed Documentation
注釈
This is part of an experimental feature that is not advised to be used in release builds.
Methods
MarkerMetadata( string sessionIdentifier, MarkerSource source, byte[] data, IMetadataSerializer serializer = null )
Base constructor.
Parameters:
sessionIdentifier |
Name of networking session scanners of this marker will join. |
source |
How this marker will be displayed (On device or on something stationary in the real physical world). |
data |
Any user defined data that should be also embedded in the barcode. |
serializer |
Will use the BasicMetadataSerializer if this arg is left null. |