Inherits ResourceInstance.
Public Member Functions | |
| FrameResource () | |
| Creates a new FrameResource with the default values. | |
| FrameResource (ResourceInstance resourceInstance) | |
| Creates a new FrameResource based on a generic ResourceInstance. | |
| Job | addToList (String url) |
| Creates a new Job which once executed, adds a photo the current playlist. | |
| Job | displayPhoto (String url) |
| Creates a new Job which once executed, display the argument photo in the frame. | |
Static Public Member Functions | |
| static FrameResource | cast (ResourceInstance resourceInstance) |
| Converts a generic ResourceInstance into a new one of type FrameResource. | |
Static Public Attributes | |
| static final String | ID = "Frame" |
| String containing the identifier for this resource. | |
| com.abiquo.api.resources.FrameResource.FrameResource | ( | ResourceInstance | resourceInstance | ) |
Creates a new FrameResource based on a generic ResourceInstance.
| resourceInstance | The generic ResourceInstance |
| static FrameResource com.abiquo.api.resources.FrameResource.cast | ( | ResourceInstance | resourceInstance | ) | [static] |
Converts a generic ResourceInstance into a new one of type FrameResource.
| resourceInstance | The generic ResourceInstance |
| Job com.abiquo.api.resources.FrameResource.addToList | ( | String | url | ) |
Creates a new Job which once executed, adds a photo the current playlist.
| url | The URL where the photo is located |
| Job com.abiquo.api.resources.FrameResource.displayPhoto | ( | String | url | ) |
Creates a new Job which once executed, display the argument photo in the frame.
| url | The URL where the photo is located |
final String com.abiquo.api.resources.FrameResource.ID = "Frame" [static] |
String containing the identifier for this resource.
1.5.5