logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

org.bluez.obex.Image - BlueZ D-Bus OBEX Image API documentation

Interface

Service org.bluez.obex Interface org.bluez.obex.Image1 [experimental] Objectpath [Session object path] Methodsobject,dictGet(stringtargetfile,stringhandle,dictdescription) Retrieves the image corresponding to the handle and the description, as one of the descriptions retrieved by GetImageProperties, and store it in a local file. If the "transform" property description exists it should be set to one of the value listed by GetImageProperties for this description. If description is an empty dict, the native image will be retrieved. Possible errors: org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failedarray{dict}Properties(stringhandle) Retrieves the image properties corresponding to the handle. The first dict entry is mandatory and correspond to 'handle' and 'name' of the image. The second dict entry is mandatory and correspond to the native description ('type':'native') of the image. The following dict entries are optional and correspond to variant descriptions of the image. If the 'transform' entry exists in the description, it lists the available possible image transformations and should be set to one of them before using the description as parameter to GetImage. Possible property values: stringtype Type of dict properties. Mandatory for each dict. Possible values: "native""variant"stringencoding File encoding format. Possible values: "BMP""GIF""JPEG""JPEG2000""PNG""WBMP"stringpixel File encoding format size of form "<width>*<height>". uint64size File size. uint64maxsize File maximum size. stringtransformation List of available transformations separated by space. Possible values: "crop""fill""stretch" Possible errors: org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failedobject,dictGetThumbnail(stringtargetfile,stringhandle) Retrieves the image thumbnail corresponding to the handle and store it in a local file. Possible errors: org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failed BlueZ August 2024 ORG.BLUEZ.OBEX.IMAGE(5)

Name

org.bluez.obex.Image - BlueZ D-Bus OBEX Image API documentation

See Also