C# Class Microsoft.HockeyApp.HockeyClientExtensionsWinUniversal

Extensions for Win 8.1 Store Apps and Windows Phone 8.1 Store Apps
Afficher le fichier Open project: bitstadium/HockeySDK-Windows

Méthodes publiques

Méthode Description
AuthorizeUser ( this @this, System.Action successAction, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void

Inititate user authorization and define a action to perform when authorization is successfull

AuthorizeUser ( this @this, Type pageTypeForSuccessRedirect, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void

Inititate user authorization and define a page navigate to when authorization is successfull

IdentifyUser ( this @this, string appSecret, System.Action successAction, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void

Inititate user identification and define a action to perform when authorization is successfull

IdentifyUser ( this @this, string appSecret, Type pageTypeForSuccessRedirect, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void

Inititate user identification and define a page to navigate to when authorization is successfull

LogoutUserAsync ( this @this ) : System.Threading.Tasks.Task

Delete an already obtained user-token if existing

SendCrashesAsync ( this @this, bool sendWithoutAsking = false ) : Task

Send any collected crashes to the HockeyApp server. You should normally call this during startup of your app.

Method Details

AuthorizeUser() public static méthode

Inititate user authorization and define a action to perform when authorization is successfull
public static AuthorizeUser ( this @this, System.Action successAction, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void
@this this
successAction System.Action Action to perform when login is successfull
eMail string [Optional] E-Mail adress to prefill form
tokenValidationPolicy TokenValidationPolicy [Optional] Default is EveryLogin
authValidationMode AuthValidationMode [Optional] Default is Graceful
Résultat void

AuthorizeUser() public static méthode

Inititate user authorization and define a page navigate to when authorization is successfull
public static AuthorizeUser ( this @this, Type pageTypeForSuccessRedirect, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void
@this this
pageTypeForSuccessRedirect System.Type Pagetype to navigate when login is successfull
eMail string [Optional] E-Mail adress to prefill form
tokenValidationPolicy TokenValidationPolicy [Optional] Default is EveryLogin
authValidationMode AuthValidationMode [Optional] Default is Graceful
Résultat void

IdentifyUser() public static méthode

Inititate user identification and define a action to perform when authorization is successfull
public static IdentifyUser ( this @this, string appSecret, System.Action successAction, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void
@this this
appSecret string The application secret from HockeyApp.
successAction System.Action Action to perform when login is successfull
eMail string [Optional] E-Mail adress to prefill form
tokenValidationPolicy TokenValidationPolicy [Optional] Default is EveryLogin
authValidationMode AuthValidationMode [Optional] Default is Graceful
Résultat void

IdentifyUser() public static méthode

Inititate user identification and define a page to navigate to when authorization is successfull
public static IdentifyUser ( this @this, string appSecret, Type pageTypeForSuccessRedirect, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void
@this this
appSecret string your app secret from HockeyApp
pageTypeForSuccessRedirect System.Type Pagetype to navigate when login is successfull
eMail string [Optional] E-Mail adress to prefill form
tokenValidationPolicy TokenValidationPolicy [Optional] Default is EveryLogin
authValidationMode AuthValidationMode [Optional] Default is Graceful
Résultat void

LogoutUserAsync() public static méthode

Delete an already obtained user-token if existing
public static LogoutUserAsync ( this @this ) : System.Threading.Tasks.Task
@this this
Résultat System.Threading.Tasks.Task

SendCrashesAsync() public static méthode

Send any collected crashes to the HockeyApp server. You should normally call this during startup of your app.
public static SendCrashesAsync ( this @this, bool sendWithoutAsking = false ) : Task
@this this
sendWithoutAsking bool configures if available crashes are sent immediately or if the user should be asked if the crashes should be sent or discarded
Résultat Task