Package | com.adobe.webapis.flickr.methodgroups |
Class | public class Licenses |
Method | Defined by | ||
---|---|---|---|
Licenses(service:FlickrService)
Construct a new Licenses "method group" class
| Licenses | ||
getInfo():void
Fetches a list of availabale photo licenses for Flickr.
| Licenses | ||
setLicense(photo_id:String, license_id:int):void
Sets the license for a photo.
| Licenses |
Event | Summary | Defined by | ||
---|---|---|---|---|
Broadcast as a result of the getInfo method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "licenses" array of License instances When success is false, contains an "error" FlickrError instance | Licenses | |||
Broadcast as a result of the setLicense method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, an empty object When success is false, contains an "error" FlickrError instance | Licenses |
Licenses | () | constructor |
public function Licenses(service:FlickrService)
Construct a new Licenses "method group" class
Parametersservice:FlickrService — The FlickrService this method group
is associated with.
|
getInfo | () | method |
public function getInfo():void
Fetches a list of availabale photo licenses for Flickr.
See also
setLicense | () | method |
public function setLicense(photo_id:String, license_id:int):void
Sets the license for a photo. This method requires authentication with WRITE permission.
Parametersphoto_id:String — The photo to update the license for.
|
|
license_id:int — The license to apply, or 0 (zero) to remove the current license.
|
See also
photosLicensesGetInfo | event |
com.adobe.webapis.flickr.events.FlickrResultEvent
Broadcast as a result of the getInfo method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "licenses" array of License instances When success is false, contains an "error" FlickrError instance
See also
photosLicensesSetLicense | event |
com.adobe.webapis.flickr.events.FlickrResultEvent
Broadcast as a result of the setLicense method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, an empty object When success is false, contains an "error" FlickrError instance
See also