C# 클래스 Microsoft.HockeyApp.HockeyClientWP8SLExtension

Static extension class containing the main extension methods for controlling the HockeySDK client
파일 보기 프로젝트 열기: bitstadium/HockeySDK-Windows 1 사용 예제들

공개 메소드들

메소드 설명
AuthorizeUser ( this @this, Uri successRedirect, System.Windows.Navigation.NavigationService navigationService = null, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void

Authorizes user with hockeyapp auth. Opening a login page to require (hockeaypp) userid and pass from user if needed

CheckForUpdates ( this @this, UpdateCheckSettings settings = null ) : void

Check for available updates

Configure ( this @this, string appId, TelemetryConfiguration telemetryConfiguration = null, System.Windows.Controls.Frame rootFrame = null ) : IHockeyClientConfigurable

main configuration method. call in app constructor

IdentifyUser ( this @this, string appSecret, Uri successRedirect, System.Windows.Navigation.NavigationService navigationService = null, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void

Identify user with hockeaypp auth. Opening a login page to require valid email address for app if needed

LogoutUser ( this @this ) : void

Logout the user by forgetting validation token

RegisterCustomUnhandledExceptionLogic ( this @this, Action customAction ) : IHockeyClientConfigurable

The action you set will be called after HockeyApp has written the crash-log and allows you to run custom logic like marking the exception as handled

RegisterCustomUnobserveredTaskExceptionLogic ( this @this, Action customAction ) : IHockeyClientConfigurable

The action you set will be called after HockeyApp has written the crash-log and allows you to run custom logic like exiting the application

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.

ShowFeedback ( this @this ) : void

Open the feedback UI

UseCustomResourceManager ( this @this, ResourceManager manager ) : IHockeyClientConfigurable

Provide a custom resource manager to override standard sdk i18n strings

비공개 메소드들

메소드 설명
ShowFeedbackUI ( this @this, System.Windows.Navigation.NavigationService navigationService ) : void

메소드 상세

AuthorizeUser() 공개 정적인 메소드

Authorizes user with hockeyapp auth. Opening a login page to require (hockeaypp) userid and pass from user if needed
public static AuthorizeUser ( this @this, Uri successRedirect, System.Windows.Navigation.NavigationService navigationService = null, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void
@this this
successRedirect System.Uri Page-URI to redirect to after successful login
navigationService System.Windows.Navigation.NavigationService [optional] obsolete - not needed
eMail string [Optional] initial email
tokenValidationPolicy TokenValidationPolicy
authValidationMode AuthValidationMode
리턴 void

CheckForUpdates() 공개 정적인 메소드

Check for available updates
public static CheckForUpdates ( this @this, UpdateCheckSettings settings = null ) : void
@this this
settings UpdateCheckSettings
리턴 void

Configure() 공개 정적인 메소드

main configuration method. call in app constructor
public static Configure ( this @this, string appId, TelemetryConfiguration telemetryConfiguration = null, System.Windows.Controls.Frame rootFrame = null ) : IHockeyClientConfigurable
@this this
appId string
telemetryConfiguration TelemetryConfiguration
rootFrame System.Windows.Controls.Frame
리턴 IHockeyClientConfigurable

IdentifyUser() 공개 정적인 메소드

Identify user with hockeaypp auth. Opening a login page to require valid email address for app if needed
public static IdentifyUser ( this @this, string appSecret, Uri successRedirect, System.Windows.Navigation.NavigationService navigationService = null, string eMail = null, TokenValidationPolicy tokenValidationPolicy = TokenValidationPolicy.EveryLogin, AuthValidationMode authValidationMode = AuthValidationMode.Graceful ) : void
@this this
appSecret string Your app's app secret (see HockeyApp app page)
successRedirect System.Uri Page-URI to redirect to after successful login
navigationService System.Windows.Navigation.NavigationService [optional] obsolete - not needed
eMail string [Optional] initial email
tokenValidationPolicy TokenValidationPolicy
authValidationMode AuthValidationMode
리턴 void

LogoutUser() 공개 정적인 메소드

Logout the user by forgetting validation token
public static LogoutUser ( this @this ) : void
@this this
리턴 void

RegisterCustomUnhandledExceptionLogic() 공개 정적인 메소드

The action you set will be called after HockeyApp has written the crash-log and allows you to run custom logic like marking the exception as handled
public static RegisterCustomUnhandledExceptionLogic ( this @this, Action customAction ) : IHockeyClientConfigurable
@this this
customAction Action The custom action.
리턴 IHockeyClientConfigurable

RegisterCustomUnobserveredTaskExceptionLogic() 공개 정적인 메소드

The action you set will be called after HockeyApp has written the crash-log and allows you to run custom logic like exiting the application
public static RegisterCustomUnobserveredTaskExceptionLogic ( this @this, Action customAction ) : IHockeyClientConfigurable
@this this
customAction Action
리턴 IHockeyClientConfigurable

SendCrashesAsync() 공개 정적인 메소드

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
리턴 Task

ShowFeedback() 공개 정적인 메소드

Open the feedback UI
public static ShowFeedback ( this @this ) : void
@this this
리턴 void

UseCustomResourceManager() 공개 정적인 메소드

Provide a custom resource manager to override standard sdk i18n strings
public static UseCustomResourceManager ( this @this, ResourceManager manager ) : IHockeyClientConfigurable
@this this
manager ResourceManager resource manager to use
리턴 IHockeyClientConfigurable