WTScreenshotSaveMode Constants Reference

Declared in WTWikitudeTypes.h

WTScreenshotSaveMode

The WTScreenshotSaveMode can be used to defines the output location of the generated screenshot.

Definition

typedef NS_ENUM(NSUInteger, WTScreenshotSaveMode ) {
   WTScreenshotSaveMode_PhotoLibrary = 1,
   WTScreenshotSaveMode_BundleDirectory = 2,
   WTScreenshotSaveMode_Delegate = 3,
};

Constants

WTScreenshotSaveMode_PhotoLibrary

The generated screenshot will be added to the Camera Roll in the Photos application

Declared In WTWikitudeTypes.h.

WTScreenshotSaveMode_BundleDirectory

The generated screenshot will be saved in the application bundle. File name and path can be passed into the -captureScreenWithMode:usingSaveMode:saveOptions:context: method by the context dictionary. The key for the NSString object is kWTScreenshotBundleDirectoryKey.

Declared In WTWikitudeTypes.h.

WTScreenshotSaveMode_Delegate

The generated screenshot will be passed to the -architectView:didCaptureScreenWithContext: context dictionary. The key is kWTScreenshotImageKey.

Declared In WTWikitudeTypes.h.

Declared In

WTWikitudeTypes.h