Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Latest commit

 

History

History
74 lines (53 loc) · 2.57 KB

File metadata and controls

74 lines (53 loc) · 2.57 KB

Members

CSDKSendToDesktop

A global object that lets you interact with the Creative SDK Send To Desktop API.

Typedefs

successCallback : function

A callback to be used upon sending of an image. This callback has no parameters.

failureCallback : function

A callback to handle errors when attempting to send an image.

CSDKSendToDesktop

A global object that lets you interact with the Creative SDK Send To Desktop API.

Kind: global variable

CSDKSendToDesktop.AppType : enum

Kind: static enum property of CSDKSendToDesktop
Properties

Name Type Default Description
PHOTOSHOP number 0 Send to Photoshop
INDESIGN number 1 Send to InDesign
ILLUSTRATOR number 2 Send to Illustrator

CSDKSendToDesktop.send(successCallback, failureCallback, uri, ccApplication, mimeType)

sends an image to an Adobe desktop app.

Kind: static method of CSDKSendToDesktop

Param Type Description
successCallback successCallback See type definition.
failureCallback failureCallback See type definition.
uri string URI of the image to be sent.
ccApplication AppType The Adobe Creative Cloud desktop application you are sending to.
mimeType string The mime type of the image you are sending.

successCallback : function

A callback to be used upon sending of an image. This callback has no parameters.

Kind: global typedef

failureCallback : function

A callback to handle errors when attempting to send an image.

Kind: global typedef

Param Type Description
error Object Error object.