UMagicLeapContactsComponent

Component that provides access to the Contacts API functionality.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MagicLeapContacts

Header

/Engine/Plugins/Lumin/MagicLeapContacts/Source/Public/MagicLeapContactsComponent.h

Include

#include "MagicLeapContactsComponent.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=MagicLeap, BlueprintType, Blueprintable, EditInlineNew,
       Meta=(BlueprintSpawnableComponent))
class UMagicLeapContactsComponent : public UActorComponent

Remarks

Component that provides access to the Contacts API functionality.

Functions

Name Description

Public function UFunction BlueprintCallable, Category

FGuid

 

AddContactAsync

(
    const FMagicLeapContact& Contact
)

Initiates the creation of a new contact.

Public function UFunction BlueprintCallable, Category

FGuid

 

DeleteContactAsync

(
    const FMagicLeapContact& Contact
)

Initiates the deletion of an existing contact.

Public function UFunction BlueprintCallable, Category

FGuid

 

EditContactAsync

(
    const FMagicLeapContact& Contact
)

Initiates the update of an existing contact.

Public function UFunction BlueprintCallable, Category

FGuid

 

RequestContactsAsync

(
    int32 MaxNumResults
)

Initiates the retrieval of the entire contacts list from the cloud.

Public function UFunction BlueprintCallable, Category

FGuid

 

SearchContactsAsync

(
    const FString& Query,
    EMagicLeapContactsSearchField Searc...
)

Initiates a search for contacts with a given query across specified fields.

Public function UFunction BlueprintCallable, Category

FGuid

 

SelectContactsAsync

(
    int32 MaxNumResults,
    EMagicLeapContactsSearchField Searc...
)

Pops up a dialog allowing the user to manually select the contacts they wish to query.

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

BeginPlay()

Starts up the Contacts API.

Public function Virtual

void

 

EndPlay

(
    const EEndPlayReason::Type EndPlayR...
)

Shuts down the Contacts API

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss