Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CNSocialProfileMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Contacts MBS Mac64bit Plugin 16.3 Yes No No Yes, macOS only No
Function: The CNSocialProfile class defines an immutable object representing a social profile.
dim ContactStore as new CNContactStoreMBS
dim c as new CNMutableContactMBS

c.givenName = "Bob"

dim sr as new CNSaveRequestMBS

dim ContainerIdentifier as string = ContactStore.defaultContainerIdentifier
sr.addContact c, ContainerIdentifier

dim e as NSErrorMBS
if ContactStore.executeSaveRequest(sr, e) then
MsgBox "Saved"
MsgBox "Failed to save contact"+EndOfLine+EndOfLine+e.localizedDescription
end if
Notes: This is a thread-safe class. Some social profile services, such as Facebook and Twitter are predefined in this class. You can also specify your own social profile service with Constructor.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:

The items on this page are in the following plugins: MBS Mac64bit Plugin.

CNSaveRequestMBS   -   ComboBox

The biggest plugin in space...

MBS FileMaker Plugins