BEHealthKit 1.11
A HealthKit plugin for Unity
Loading...
Searching...
No Matches
Public Attributes | Public Member Functions | List of all members
BeliefEngine.HealthKit.Predicate Class Reference

A way to create simple NSPredicates. More...

Detailed Description

NSPredicate (https://developer.apple.com/documentation/foundation/nspredicate) is a definition of logical conditions used to constrain a search either for a fetch or for in-memory filtering.

Public Attributes

string formatString
 The predicate's format string.
 

Public Member Functions

 Predicate (string format)
 Construct a Predicate with a format string.
 
virtual XElement ToXML ()
 generates XML Element to convert the Predicate to an NSPredicate on the Obj-C side.
 
string ToXMLString ()
 generates an XML string, to convert the Predicate to an NSPredicate on the Obj-C side.
 

Constructor & Destructor Documentation

◆ Predicate()

BeliefEngine.HealthKit.Predicate.Predicate ( string format)
inline
Parameters
formatthe format string to use.

Member Function Documentation

◆ ToXML()

virtual XElement BeliefEngine.HealthKit.Predicate.ToXML ( )
inlinevirtual