コード例 #1
0
ファイル: SoftkeyService.cs プロジェクト: yunmiha/TizenFX
 private Interop.SoftkeyService.VisibleState ChangeVisibleStateToInternal(SoftkeyVisibleState state)
 {
     if (state == SoftkeyVisibleState.Shown)
     {
         return(Interop.SoftkeyService.VisibleState.Show);
     }
     else
     {
         return(Interop.SoftkeyService.VisibleState.Hide);
     }
 }
コード例 #2
0
ファイル: SoftkeyClient.cs プロジェクト: yunmiha/TizenFX
 private Interop.SoftkeyClient.VisibleState ChangeVisibleStateToInternal(SoftkeyVisibleState state)
 {
     if (state == SoftkeyVisibleState.Shown)
     {
         return(Interop.SoftkeyClient.VisibleState.Shown);
     }
     else if (state == SoftkeyVisibleState.Hidden)
     {
         return(Interop.SoftkeyClient.VisibleState.Hidden);
     }
     else
     {
         return(Interop.SoftkeyClient.VisibleState.Unknown);
     }
 }