Click or drag to resize
IAircraftPictureManager Interface
The interface for an object that can deal with finding pictures of aircraft.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IAircraftPictureManager : ISingleton<IAircraftPictureManager>

The IAircraftPictureManager type exposes the following members.

Properties
  NameDescription
Public propertySingleton
Gets the single instance of the class that should be used throughout the application.
(Inherited from ISingletonT.)
Top
Methods
  NameDescription
Public methodFindPicture(IDirectoryCache, String, String)
Returns the full path and dimensions of the picture for the aircraft with the ICAO24 and registration passed across or null if no picture exists for the aircraft.
Public methodFindPicture(IDirectoryCache, String, String, PictureDetail)
If existingDetail is not supplied or the file's last update or length has changed then the picture details are fetched and a new detail is returned. If existingDetail is supplied and neither the last update or length have changed then the existingDetail is returned without loading the picture.
Public methodLoadPicture
Loads the aircraft picture with the ICAO24 and registration passed, returning null if the aircraft has no picture. It is the callers responsibility to dispose of the image returned. Note that the image may or may not have been loaded from a file.
Top
See Also