Class PublisherASA
Implementation of IPublisher using ASA to push anchors to and retrieve them from the cloud.
Assembly: cs.temp.dll.dll
Syntax
public class PublisherASA : MonoBehaviour, IPublisher
Properties
AnchorsParent
Transform to attach created anchors to. Should have identity global pose.
Declaration
public Transform AnchorsParent { get; set; }
Property Value
Type |
Description |
Transform |
|
AnchorsPrefab
Object to instantiate wherever native anchors are created to visualize their placement.
Declaration
public GameObject AnchorsPrefab { get; set; }
Property Value
Type |
Description |
GameObject |
|
BeaconUuids
Beacon ids to use in coarse reloctaion.
Declaration
public List<string> BeaconUuids { get; }
Property Value
CoarseRelocationEnabled
Enable coarse relocation.
Declaration
public bool CoarseRelocationEnabled { get; set; }
Property Value
CoarseRelocPublishEnabled
Whether relocation data will be included in published cloud anchors.
Declaration
public bool CoarseRelocPublishEnabled { get; set; }
Property Value
CoarseRelocUseBluetooth
Whether use of bluetooth beacons is to be used in coarse relocation.
Declaration
public bool CoarseRelocUseBluetooth { get; }
Property Value
CoarseRelocUseGPS
Augment cloud anchors with GPS data to allow them to be found via course relocation.
Declaration
public bool CoarseRelocUseGPS { get; set; }
Property Value
CoarseRelocUseWifi
Augment cloud anchors with wifi data to allow them to be found via course relocation.
Declaration
public bool CoarseRelocUseWifi { get; set; }
Property Value
MaxSearchSeconds
Maximum number of seconds to search without finding any anchors before giving up.
Declaration
public float MaxSearchSeconds { get; set; }
Property Value
Max number seconds to wait for more anchors, after having found some.
Declaration
public float MaxWaitForMoreAnchorsSeconds { get; set; }
Property Value
MinRecommendedForCreateProgress
The minimum value of the recommended-for-create-progress float before allowing creation of cloud anchors.
Declaration
public float MinRecommendedForCreateProgress { get; set; }
Property Value
Status
Declaration
public ReadinessStatus Status { get; }
Property Value
Methods
Create(LocalPegAndProperties)
Declaration
public async Task<string> Create(LocalPegAndProperties pegAndProps)
Parameters
Returns
CreateLocalPeg(String, Pose)
Declaration
public async Task<ILocalPeg> CreateLocalPeg(string id, Pose lockedPose)
Parameters
Type |
Name |
Description |
String |
id |
|
Pose |
lockedPose |
|
Returns
Delete(String)
Declaration
public async Task Delete(string cloudAnchorId)
Parameters
Type |
Name |
Description |
String |
cloudAnchorId |
|
Returns
Find(Single)
Declaration
public async Task<Dictionary<string, LocalPegAndProperties>> Find(float radiusFromDevice)
Parameters
Type |
Name |
Description |
Single |
radiusFromDevice |
|
Returns
Modify(String, LocalPegAndProperties)
Declaration
public async Task<string> Modify(string cloudAnchorId, LocalPegAndProperties peg)
Parameters
Returns
PurgeArea(Single)
Declaration
public async Task PurgeArea(float radius)
Parameters
Type |
Name |
Description |
Single |
radius |
|
Returns
Read(IReadOnlyCollection<String>)
Declaration
public async Task<Dictionary<string, LocalPegAndProperties>> Read(IReadOnlyCollection<string> cloudAnchorIds)
Parameters
Returns
Read(String)
Declaration
public async Task<LocalPegAndProperties> Read(string cloudAnchorId)
Parameters
Type |
Name |
Description |
String |
cloudAnchorId |
|
Returns
ReleaseLocalPeg(ILocalPeg)
Declaration
public void ReleaseLocalPeg(ILocalPeg peg)
Parameters
Setup()
Declaration
public async void Setup()
Implements