TrustedTime

public final class TrustedTime 

Entry point for developers to access the Trusted Time APIs.

Summary

Public methods

static Task < TrustedTimeClient >
createClient ( Activity  activity)

Creates a Task that provides a new instance of TrustedTimeClient for use by an Activity .

static Task < TrustedTimeClient >
createClient ( Context  context)

Creates a Task that provides a new instance of TrustedTimeClient for use in a non-activity context.

Public methods

createClient

public static  Task 
< TrustedTimeClient 
 createClient 
( Activity 
 activity)

Creates a Task that provides a new instance of TrustedTimeClient for use by an Activity . Any resulting TrustedTimeClient is owned by the caller and must be disposed of using dispose to guarantee associated resources are freed. See TrustedTimeClient for more information about disposal.

Parameters
Activity  activity

the activity that is using this client

createClient

public static  Task 
< TrustedTimeClient 
 createClient 
( Context 
 context)

Creates a Task that provides a new instance of TrustedTimeClient for use in a non-activity context. Any resulting TrustedTimeClient is owned by the caller and must be disposed of using dispose to guarantee associated resources are freed. See TrustedTimeClient for more information about disposal.

Parameters
Context  context

the context that is using this client

Create a Mobile Website
View Site in Mobile | Classic
Share by: