Package | com.adobe.webapis.flickr.methodgroups |
Class | public class Notes |
Method | Defined by | ||
---|---|---|---|
Notes(service:FlickrService)
Construct a new Notes "method group" class
| Notes | ||
add(photo_id:String, note_rect:Rectangle, note_text:String):void
Add a note to a photo.
| Notes | ||
deleteNote(note_id:String):void
Delete a note from a photo.
| Notes | ||
edit(note_id:String, note_rect:Rectangle, note_text:String):void
Edit a note on a photo.
| Notes |
Event | Summary | Defined by | ||
---|---|---|---|---|
Broadcast as a result of the add method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a PhotoNote instnace When success is false, contains an "error" FlickrError instance | Notes | |||
Broadcast as a result of the deleteNote 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 | Notes | |||
Broadcast as a result of the edit 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 | Notes |
Notes | () | constructor |
public function Notes(service:FlickrService)
Construct a new Notes "method group" class
Parametersservice:FlickrService — The FlickrService this method group
is associated with.
|
add | () | method |
public function add(photo_id:String, note_rect:Rectangle, note_text:String):void
Add a note to a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages. This method requires authentication with WRITE permission.
Parametersphoto_id:String — The id of the photo to add a note to
|
|
note_rect:Rectangle — The Rectangle bounding box (x, y, width, height) for the note
|
|
note_text:String — The description of the note
|
See also
deleteNote | () | method |
public function deleteNote(note_id:String):void
Delete a note from a photo. This method requires authentication with WRITE permission.
Parametersnote_id:String — The id of the note to delete
|
See also
edit | () | method |
public function edit(note_id:String, note_rect:Rectangle, note_text:String):void
Edit a note on a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages. This method requires authentication with WRITE permission.
Parametersnote_id:String — The id of the note to edit
|
|
note_rect:Rectangle — The Rectangle bounding box (x, y, width, height) for the note
|
|
note_text:String — The description of the note
|
See also
photosNotesAdd | event |
com.adobe.webapis.flickr.events.FlickrResultEvent
Broadcast as a result of the add method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a PhotoNote instnace When success is false, contains an "error" FlickrError instance
See also
photosNotesDelete | event |
com.adobe.webapis.flickr.events.FlickrResultEvent
Broadcast as a result of the deleteNote 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
photosNotesEdit | event |
com.adobe.webapis.flickr.events.FlickrResultEvent
Broadcast as a result of the edit 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