System.Tether.AppProfile.TCustomRemoteItem
Delphi
TCustomRemoteItem = class
C++
class PASCALIMPLEMENTATION DECLSPEC_DRTTI TCustomRemoteItem : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | System.Tether.AppProfile |
Description
Represents an item shared by a remote profile. See also TCustomLocalItem.
A remote item provides a Name that uniquely identifies the item within the Profile that shares the item, and a Hint that describes the item.
Call Broadcast on a remote item to announce changes to the item to remote profiles at any time. You can also make NotifyUpdates True
to enable automatic notifications when the value of the item changes.
IsPublic determines whether or not the remote item must be shared with remote profiles, and IsTemp determines whether or not the item is meant to be read more than once by remote profiles. By default, remote items are public (IsPublic is True
) and persistent (IsTemp is False
). Application profiles use protected (IsPublic is False
), temporary (IsTemp is True
) remote items for one-time exchanges of data, such as sending strings or receiving streams.
Kind determines whether the value of the remote item is defined on the profile that shares the item (default), or is mirrored from a another remote item. When the value of a remote item is mirrored (Kind is TTetheringRemoteKind.Mirror), the value is obtained from another remote item shared by a remote profile. The Kind of the remote item must be TTetheringRemoteKind.Shared.
ItemType determines whether the remote item represents an action or a resource.
See Also
- System.Tether.AppProfile.TCustomRemoteItem.Create
- System.Tether.AppProfile.TCustomRemoteItem.Destroy
- System.Tether.AppProfile.TCustomRemoteItem.Broadcast
- System.Tether.AppProfile.TCustomRemoteItem.Name
- System.Tether.AppProfile.TCustomRemoteItem.Hint
- System.Tether.AppProfile.TCustomRemoteItem.IsPublic
- System.Tether.AppProfile.TCustomRemoteItem.IsTemp
- System.Tether.AppProfile.TCustomRemoteItem.ItemType
- System.Tether.AppProfile.TCustomRemoteItem.Kind
- System.Tether.AppProfile.TCustomRemoteItem.NotifyUpdates
- System.Tether.AppProfile.TCustomRemoteItem.Profile
- System.Tether.AppProfile.TTetheringAppProfile
- System.Tether.AppProfile.TCustomLocalItem
- Sharing Actions
- Sharing Resources