/// <summary> /// Gets the user’s profile. /// /// The "profile" scope is required to perform this operation. /// </summary> /// <param name="action"> /// The callback action to be invoked when this API finishes. /// </param> public static void GetProfile(Action <Result <UserProfile> > action) { var identifier = AddAction(FlattenAction.JsonFlatten <UserProfile>(action)); NativeInterface.GetProfile(identifier); }