Development Team/Low-level Activity API: Difference between revisions

Bert (talk | contribs)
Choosing Objects: warn about 0.82 usage
Bert (talk | contribs)
Mount Points: clarify this is 0.82 only
Line 261: Line 261:
Returns an array of mount point descriptors where each descriptor is a dictionary containing at least the following keys:
Returns an array of mount point descriptors where each descriptor is a dictionary containing at least the following keys:
:'id': the id used to refer explicitly to the mount point
:'id': the id used to refer explicitly to the mount point
:'title': Human readable identifier for the mountpoint
:'title': Human readable identifier for the mountpoint ''(in Sugar 0.82, just the uri)''
:'uri': The uri which triggered the mount
:'uri': The uri which triggered the mount


Line 267: Line 267:


Large files to be stored on an external device should be placed at the uri of the mount point (see [[#External Media|external media]]).
Large files to be stored on an external device should be placed at the uri of the mount point (see [[#External Media|external media]]).
'''Note:''' ''This only works as described in Sugar up to 0.82. The functions do exist in later Sugar versions, but do not return useful data.''


=Security=
=Security=