|
void | SetApiKey (string apiKey) |
| Sets the provided apiKey . More...
|
|
UserWise | Initialize (string apiKey, string userId) |
| Sets the apiKey and userId provided. More...
|
|
void | Start () |
| Tells the UserWise SDK to start all background operations. Due to the way UserWise operates this method is not necessary after user initialization as the background operations will start as soon as we can initialize the app user with the provided apiKey and userId. More...
|
|
void | Stop () |
| Tells the UserWise SDK to stop all background operations. When/if UserWise should start again call Start(); More...
|
|
void | RefreshContent () |
| Updates the player's currently matching segments for the session and, if successful, will force all UserWise modules to pull a refreshed content list. More...
|
|
void | RefreshContent (Action< bool > completed) |
| Updates the player's currently matching segments for the session and, if successful, will force all UserWise modules to pull a refreshed content list. More...
|
|
void | RefreshContent (Action< bool > completed, int timeout) |
| Updates the player's currently matching segments for the session and, if successful, will force all UserWise modules to pull a refreshed content list. More...
|
|
bool | IsSessionInitialized () |
| Is a session currently initialized and active? More...
|
|
void | GetMedia (string mediaId, Action< bool, MediaInfo > handler) |
| Retrieve full media information for a specific UserWise Media Library item. More...
|
|
void | GetRawDataFromMediaId (string mediaId, bool ignoreCache, Action< bool, byte[]> handler) |
| Loads the underlying bitmap for the provided Media ID. If the media has been loaded during this App Session (different from play session), the media information will not query for updated media data. More...
|
|
void | GetRawDataFromUrl (string url, bool ignoreCache, Action< bool, byte[]> handler) |
| Loads the underlying bitmap for the provided URL. If the media at the url has been loaded already, a local cache will be used instead. More...
|
|
UserWise | AssignEvent (PlayerEvent playerEvent, Action< Boolean > callback) |
| Assigns an event (w/ optional event attributes) to the initialized appuser. More...
|
|
UserWise | SetAttributes (List< PlayerAttribute > playerAttributes, Action< Boolean > callback) |
| Upserts the provided attributes onto the app user's record. More...
|
|
UserWise | TransitionToRegion (Region region, Action< Boolean > callback) |
| Emit a region transition for ther user. More...
|
|
UserWise | SetEngagementOutcome (string outcomeKey, OutcomeType type, Action< Boolean > callback) |
|
void UserWiseSDK.UserWise.RefreshContent |
( |
Action< bool > |
completed | ) |
|
|
inline |
Updates the player's currently matching segments for the session and, if successful, will force all UserWise modules to pull a refreshed content list.
This method defaults to a 30 second timeout.
If you would like to also control the timout of this operation, use the RefreshContent(Action<bool>, int) overload.