Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeConfluence
languagejavascript
pre {
  friendsList = CloudOS:subscriptionList("myConnections", "friend");
}

getAllSubscriptions()

The getAllSubscriptions() function will return a map of all active subscriptions within the current Personal Cloud. The subscription sample application provides an example of using this function.

Code Block
themeConfluence
languagejavascript
pre {
  allSubscriptions = CloudOS:getAllSubscriptions();
}

getAllPendingApproval()

The getAllPendingApprovalThe getAllPendingApproval() function returns a map of all subscription request that are pending your approval. The subscription sample application provides an example of using this function.

Code Block
themeConfluence
languagejavascript
pre {
  allSubscriptionsPendingApproval = CloudOS:getAllPendingApproval();
}

getAllPendingSubscriptions

The getAllPendingSubscriptions() function returns a map of all subscription request that have been generated within this Personal Cloud. The subscription sample application provides an example of using this function.

Code Block
themeConfluence
languagejavascript
pre {
  allSubscriptionRequest = CloudOS:getAllPendingSubscriptions();
}