GARSessionDelegate

Delegate for receiving callbacks from a GARSession .

All methods are optional.

Summary

Inheritance

Inherits from: <NSObject>

Public methods

session:didFailToHostAnchor:

 
- (void)session:
( GARSession *) session
didFailToHostAnchor:
( GARAnchor *) anchor

A call to hostCloudAnchor:error: (GARSession(CloudAnchors)) failed.

Inspect the value of GARAnchor.cloudState for details.

Details
Parameters
session
The GARSession in which the anchor was hosted.
anchor
The GARAnchor that was returned from hostCloudAnchor:error: (GARSession(CloudAnchors)) , snapshotted at the failure of hosting.

session:didFailToResolveAnchor:

 
- (void)session:
( GARSession *) session
didFailToResolveAnchor:
( GARAnchor *) anchor

A call to resolveCloudAnchorWithIdentifier:error: (GARSession(CloudAnchors)) failed.

Inspect the value of GARAnchor.cloudState for details.

Details
Parameters
session
The GARSession in which the anchor was resolved.
anchor
The GARAnchor that was returned from resolveCloudAnchorWithIdentifier:error: (GARSession(CloudAnchors)) , snapshotted at the failure of resolving.

session:didHostAnchor:

 
- (void)session:
( GARSession *) session
didHostAnchor:
( GARAnchor *) anchor

A call to hostCloudAnchor:error: (GARSession(CloudAnchors)) was successful.

Details
Parameters
session
The GARSession in which the anchor was hosted.
anchor
The GARAnchor that was returned from hostCloudAnchor:error: (GARSession(CloudAnchors)) , snapshotted at the completion of hosting.

session:didResolveAnchor:

 
- (void)session:
( GARSession *) session
didResolveAnchor:
( GARAnchor *) anchor

A call to resolveCloudAnchorWithIdentifier:error: (GARSession(CloudAnchors)) was successful.

Details
Parameters
session
The GARSession in which the anchor was resolved.
anchor
The GARAnchor that was returned from resolveCloudAnchorWithIdentifier:error: (GARSession(CloudAnchors)) , snapshotted at the completion of resolving.
Design a Mobile Site
View Site in Mobile | Classic
Share by: